diff options
Diffstat (limited to 'src/ivybind.c')
-rw-r--r-- | src/ivybind.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |