diff --git a/configure b/configure index ae5c34cc21..9d11125f4d 100755 --- a/configure +++ b/configure @@ -119,12 +119,12 @@ done : ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s} : ${INSTALL_MAN:=${INSTALL} -m 444} : ${INSTALL_LIB:=${INSTALL} -m 755 -c} - PKGNAME='radare2' ; VERSION='3.1.0' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake " ; + PKGNAME='radare2' ; VERSION='3.1.1' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake " ; } show_usage() { cat <." exit 0 @@ -233,7 +233,7 @@ case $flag in show_version ; ;; -r|--r|--report) echo "PKGNAME: radare2" -echo "VERSION: 3.1.0" +echo "VERSION: 3.1.1" echo "LANGS: c" echo "REQUIRED: libdl" echo "OPTIONAL: libmagic libz libzip libxxhash libssl liblibuv" diff --git a/configure.acr b/configure.acr index 64a674b83e..c0506ecafa 100644 --- a/configure.acr +++ b/configure.acr @@ -1,5 +1,5 @@ PKGNAME radare2 -VERSION 3.1.0 +VERSION 3.1.1 CONTACT pancake ; pancake@nopcode.org LANG_C! diff --git a/libr/bin/format/mach0/dyldcache.c b/libr/bin/format/mach0/dyldcache.c index 1fc7cc2b82..07b7ff6842 100644 --- a/libr/bin/format/mach0/dyldcache.c +++ b/libr/bin/format/mach0/dyldcache.c @@ -32,8 +32,8 @@ static char *r_buf_read_string (RBuffer *buf, ut64 addr, int len) { ut8 *data = malloc (len); if (data) { r_buf_read_at (buf, addr, data, len); - data[len-1] = 0; - return data; + data[len - 1] = 0; + return (char *)data; } return NULL; }