aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 3a8479455..2c11ae15f 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -919,8 +919,8 @@ GNUNET_ntoh_double (double d);
919 * the same pointer type. 919 * the same pointer type.
920 */ 920 */
921#define GNUNET_memcmp(a,b) ({ \ 921#define GNUNET_memcmp(a,b) ({ \
922 const typeof(b) _a = (a); \ 922 const typeof(*b) * _a = (a); \
923 const typeof(a) _b = (b); \ 923 const typeof(*a) * _b = (b); \
924 memcmp(_a, \ 924 memcmp(_a, \
925 _b, \ 925 _b, \
926 sizeof (*a)); }) 926 sizeof (*a)); })