From 50bec46acc4091c0dc4d1c155b7750c777484b64 Mon Sep 17 00:00:00 2001 From: Thong Nguyen Date: Thu, 3 Dec 2015 17:25:30 +0000 Subject: [PATCH] Fixed build issue with OSSTATUS_PRINTF_VALUE on 64bit --- StreamingKit/StreamingKit/STKAudioPlayer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StreamingKit/StreamingKit/STKAudioPlayer.m b/StreamingKit/StreamingKit/STKAudioPlayer.m index cb15d47..6723ba8 100755 --- a/StreamingKit/StreamingKit/STKAudioPlayer.m +++ b/StreamingKit/StreamingKit/STKAudioPlayer.m @@ -64,7 +64,7 @@ #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]];