From e1b68812865ac511f095e4a0f58bf52cbb36d150 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 11 Mar 2010 00:36:45 +0000 Subject: Squelch some compiler warnings. svn path=/trunk/; revision=32165 --- ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ringbuffer.c') diff --git a/ringbuffer.c b/ringbuffer.c index b32f03caf2..94efe0b5c7 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -200,7 +200,7 @@ ringbuf_init(const char *capfile_name, guint num_files) rb_data.num_files = 1; } - rb_data.files = g_malloc(rb_data.num_files * sizeof(rb_file)); + rb_data.files = (rb_file *)g_malloc(rb_data.num_files * sizeof(rb_file)); if (rb_data.files == NULL) { return -1; } -- cgit v1.2.3