diff options
Diffstat (limited to 'deps/uber-graph/g-ring.c')
-rw-r--r-- | deps/uber-graph/g-ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uber-graph/g-ring.c b/deps/uber-graph/g-ring.c index dc35635d..d865cc15 100644 --- a/deps/uber-graph/g-ring.c +++ b/deps/uber-graph/g-ring.c @@ -21,7 +21,7 @@ #include "g-ring.h" #ifndef g_malloc0_n -#define g_malloc0_n(x,y) g_malloc0(x * y) +#define g_malloc0_n(x,y) g_malloc0((gsize)x * y) #endif #define get_element(r,i) ((r)->data + ((r)->elt_size * i)) |