1
0
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:
Voha 2013-02-12 20:27:33 +02:00 committed by a*morale
parent 8c5cded61a
commit 6c24561ec4

View File

@ -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 "";