projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43edc0c
)
cmocka: Fix a build warning on x86.
author
Andreas Schneider
<asn@cryptomilk.org>
Mon, 15 Oct 2012 15:01:58 +0000
(17:01 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 15 Oct 2012 15:01:58 +0000
(17:01 +0200)
src/cmocka.c
patch
|
blob
|
history
diff --git
a/src/cmocka.c
b/src/cmocka.c
index
a2af6c3
..
8da2272
100755
(executable)
--- a/
src/cmocka.c
+++ b/
src/cmocka.c
@@
-1428,7
+1428,7
@@
void _test_free(void* const ptr, const char* file, const int line) {
print_error(
"Guard block of %p size=%lu allocated by "
SOURCE_LOCATION_FORMAT " at %p is corrupt\n",
- ptr, block_info->size,
+ ptr,
(unsigned long)
block_info->size,
block_info->location.file, block_info->location.line,
&guard[j]);
_fail(file, line);