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:
93480fd
)
include: Fix casting on 64bit platforms.
author
Andreas Schneider
<asn@cryptomilk.org>
Fri, 12 Oct 2012 21:00:01 +0000
(23:00 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 12 Oct 2012 21:00:01 +0000
(23:00 +0200)
src/include/cmocka.h
patch
|
blob
|
history
diff --git
a/src/include/cmocka.h
b/src/include/cmocka.h
index
9720f04
..
0e8e25c
100755
(executable)
--- a/
src/include/cmocka.h
+++ b/
src/include/cmocka.h
@@
-71,7
+71,7
@@
int __stdcall IsDebuggerPresent();
/* Perform an unsigned cast to LargestIntegralType. */
#define cast_to_largest_integral_type(value) \
- ((LargestIntegralType)((
unsigned)(
size_t)(value)))
+ ((LargestIntegralType)((size_t)(value)))
/* Smallest integral type capable of holding a pointer. */
#ifndef _UINTPTR_T