From 7d534bbf798a4036dd3cee1c36df05b2c34defe8 Mon Sep 17 00:00:00 2001 From: bustico Date: Mon, 24 Jan 2011 13:39:15 +0000 Subject: make ivy-c c++ compiler compliant use last version (1.9.3) of uthash header --- src/ivybind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ivybind.c') diff --git a/src/ivybind.c b/src/ivybind.c index d433d1a..bbf422e 100644 --- a/src/ivybind.c +++ b/src/ivybind.c @@ -99,7 +99,7 @@ IvyBinding IvyBindingCompile( const char * expression, int *erroffset, const ch free( bind->ovector ); // + 1 pour la capture totale bind->ovectorsize = (capture_count+1) * 3; - bind->ovector = malloc( sizeof( int )* bind->ovectorsize); + bind->ovector = (int *) malloc( sizeof( int )* bind->ovectorsize); } else { -- cgit v1.1