notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb090db
)
int64/double hack
author
notaz
<notasas@gmail.com>
Mon, 10 Feb 2014 02:33:12 +0000
(
04:33
+0200)
committer
notaz
<notasas@gmail.com>
Mon, 10 Feb 2014 02:33:12 +0000
(
04:33
+0200)
at least stackframe should be correct..
tools/protoparse.h
patch
|
blob
|
blame
|
history
diff --git
a/tools/protoparse.h
b/tools/protoparse.h
index
6e1f3ab
..
ab16632
100644
(file)
--- a/
tools/protoparse.h
+++ b/
tools/protoparse.h
@@
-536,6
+536,16
@@
static int parse_protostr(char *protostr, struct parsed_proto *pp)
arg->reg = strdup(map_reg(regparm));
}
+ if (strstr(arg->type.name, "int64")
+ || IS(arg->type.name, "double"))
+ {
+ // hack..
+ free(arg->type.name);
+ arg->type.name = strdup("int");
+ pp_copy_arg(&pp->arg[xarg], arg);
+ xarg++;
+ }
+
ret = check_struct_arg(arg);
if (ret > 0) {
pp->has_structarg = 1;