diff options
author | bustico | 2011-01-24 13:39:15 +0000 |
---|---|---|
committer | bustico | 2011-01-24 13:39:15 +0000 |
commit | 7d534bbf798a4036dd3cee1c36df05b2c34defe8 (patch) | |
tree | 4618cc39a3ca54b0f1849bd11a86ea46c169dbc0 /src/ivybind.c | |
parent | 7cd9cd6f68f0d49d0504966141d70c4324bc73ff (diff) | |
download | ivy-c-7d534bbf798a4036dd3cee1c36df05b2c34defe8.zip ivy-c-7d534bbf798a4036dd3cee1c36df05b2c34defe8.tar.gz ivy-c-7d534bbf798a4036dd3cee1c36df05b2c34defe8.tar.bz2 ivy-c-7d534bbf798a4036dd3cee1c36df05b2c34defe8.tar.xz |
make ivy-c c++ compiler compliant
use last version (1.9.3) of uthash header
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 { |