Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-cmocka
cmocka_win32.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cmocka_win32.dif of Package mingw32-cmocka
diff --git a/include/cmocka.h b/include/cmocka.h index cc53cc0..eec1aa3 100755 --- a/include/cmocka.h +++ b/include/cmocka.h @@ -86,9 +86,6 @@ int __stdcall IsDebuggerPresent(); #define _UINTPTR_T #ifdef _WIN32 -/* WIN32 is an ILP32 platform */ -typedef unsigned long uintptr_t; - /* what about 64-bit windows? * what's the right preprocessor symbol? typedef unsigned long long uintptr_t */ diff --git a/src/cmocka.c b/src/cmocka.c index acef558..11e9c3b 100755 --- a/src/cmocka.c +++ b/src/cmocka.c @@ -809,9 +809,9 @@ static int value_in_set_display_error( if (succeeded) { return 1; } - print_error("%llu is %sin the set (", value, invert ? "" : "not "); + print_error("%lu is %sin the set (", value, invert ? "" : "not "); for (i = 0; i < size_of_set; i++) { - print_error("%llu, ", set[i]); + print_error("%lu, ", set[i]); } print_error(")\n"); } @@ -830,7 +830,7 @@ static int integer_in_range_display_error( if (value >= range_min && value <= range_max) { return 1; } - print_error("%llu is not within the range %llu-%llu\n", value, range_min, + print_error("%lu is not within the range %lu-%lu\n", value, range_min, range_max); return 0; } @@ -847,7 +847,7 @@ static int integer_not_in_range_display_error( if (value < range_min || value > range_max) { return 1; } - print_error("%llu is within the range %llu-%llu\n", value, range_min, + print_error("%lu is within the range %lu-%lu\n", value, range_min, range_max); return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor