summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-12-12 15:24:13 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-12-12 15:24:13 +0100
commitd3c7d98dd866835a9039e38d75cf83be0c2b7d94 (patch)
tree897d592fd61ca324f69ee34e1ce204f2532208eb /test
parent70eca1a4ceaee85b89a9589b87657fbd34c3c6c9 (diff)
downloadlibuca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.tar.gz
libuca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.tar.bz2
libuca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.tar.xz
libuca-d3c7d98dd866835a9039e38d75cf83be0c2b7d94.zip
Use correct size, otherwise it crashes on 32 bit
Diffstat (limited to 'test')
-rw-r--r--test/test-ring-buffer.c2
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);