mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
* fix build error
This commit is contained in:
parent
8c5cded61a
commit
6c24561ec4
@ -276,7 +276,7 @@ QString pjrc_rawhid::getserial(int num) {
|
||||
{
|
||||
//Note: I'm not sure it will always succeed if encoded as MacRoman but that
|
||||
//is a superset of UTF8 so I think this is fine
|
||||
CFStringRef str = static_cast<CFStringRef*>(serialnum);
|
||||
CFStringRef str = static_cast<CFStringRef>(serialnum);
|
||||
int length = CFStringGetLength(str);
|
||||
if (length == 0) {
|
||||
return "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user