Fix 32bit warning in rabin2

This commit is contained in:
pancake 2015-03-29 10:23:14 +02:00
parent 79087fbb2f
commit 96a44f8ebf

View File

@ -610,7 +610,7 @@ int main(int argc, char **argv) {
if (file && *file && action&ACTION_DLOPEN) {
void *addr = r_lib_dl_open (file);
if (addr) {
printf ("%s is loaded at 0x%"PFMT64x"\n", file, (ut64)(addr));
printf ("%s is loaded at 0x%"PFMT64x"\n", file, (ut64)(size_t)(addr));
r_lib_dl_close (addr);
} else
printf("Cannot open the '%s' library\n", file);