From d3c7d98dd866835a9039e38d75cf83be0c2b7d94 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 12 Dec 2013 15:24:13 +0100 Subject: Use correct size, otherwise it crashes on 32 bit --- test/test-ring-buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3