diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-12-12 15:24:13 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-12-12 15:24:13 +0100 |
commit | d3c7d98dd866835a9039e38d75cf83be0c2b7d94 (patch) | |
tree | 897d592fd61ca324f69ee34e1ce204f2532208eb | |
parent | 70eca1a4ceaee85b89a9589b87657fbd34c3c6c9 (diff) | |
download | uca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.tar.gz uca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.tar.bz2 uca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.tar.xz uca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.zip |
Use correct size, otherwise it crashes on 32 bit
-rw-r--r-- | test/test-ring-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-ring-buffer.c b/test/test-ring-buffer.c index 4872534..cc99ef9 100644 --- a/test/test-ring-buffer.c +++ b/test/test-ring-buffer.c @@ -8,7 +8,7 @@ test_new_constructor (void) UcaRingBuffer *buffer; buffer = g_object_new (UCA_TYPE_RING_BUFFER, - "block-size", 512, + "block-size", (guint64) 512, "num-blocks", 2, NULL); |