Skip to content

Commit

Permalink
Fixed build issue with OSSTATUS_PRINTF_VALUE on 64bit
Browse files Browse the repository at this point in the history
  • Loading branch information
tumtumtum committed Dec 3, 2015
1 parent dec8b87 commit 50bec46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StreamingKit/StreamingKit/STKAudioPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ This product includes software developed by Thong Nguyen ([email protected])
#define STK_DEFAULT_GRACE_PERIOD_AFTER_SEEK_SECONDS (0.5)

#define OSSTATUS_PRINTF_PLACEHOLDER @"%c%c%c%c"
#define OSSTATUS_PRINTF_VALUE(status) ((status) >> 24) & 0xFF, ((status) >> 16) & 0xFF, ((status) >> 8) & 0xFF, (status) & 0xFF
#define OSSTATUS_PRINTF_VALUE(status) (char)(((status) >> 24) & 0xFF), (char)(((status) >> 16) & 0xFF), (char)(((status) >> 8) & 0xFF), (char)((status) & 0xFF)

#define LOGINFO(x) [self logInfo:[NSString stringWithFormat:@"%s %@", sel_getName(_cmd), x]];

Expand Down

0 comments on commit 50bec46

Please sign in to comment.