diff options
author | Mike Turvey <mturvey6@gmail.com> | 2018-03-10 23:07:43 -0700 |
---|---|---|
committer | Mike Turvey <mturvey6@gmail.com> | 2018-03-10 23:10:19 -0700 |
commit | 5e59c6805ff7555930c9f10097cda6d90d57ee78 (patch) | |
tree | b96aef00ab3f2053c87c1b6b11c49f09ac045852 /src/survive.c | |
parent | c3f6a9a94575035b4226fc646989d561efe5c3f4 (diff) | |
download | libsurvive-5e59c6805ff7555930c9f10097cda6d90d57ee78.tar.gz libsurvive-5e59c6805ff7555930c9f10097cda6d90d57ee78.tar.bz2 |
Fix MSVC build
Diffstat (limited to 'src/survive.c')
-rwxr-xr-x | src/survive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive.c b/src/survive.c index 21e1f0e..5d0d35f 100755 --- a/src/survive.c +++ b/src/survive.c @@ -96,7 +96,7 @@ static void *button_servicer(void * context) void survive_verify_FLT_size(uint32_t user_size) { if(sizeof(FLT) != user_size) { - fprintf(stderr, "FLT type incompatible; the shared library libsurvive has FLT size %lu vs user program %u\n", sizeof(FLT), user_size); + fprintf(stderr, "FLT type incompatible; the shared library libsurvive has FLT size %lu vs user program %u\n", (unsigned long)sizeof(FLT), user_size); fprintf(stderr, "Add '#define FLT %s' before including survive.h or recompile the shared library with the appropriate flag. \n", sizeof(FLT) == sizeof(double) ? "double" : "float"); exit(-1); |