aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-30 13:20:06 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-30 13:20:06 +0000
commitb7683b916293c0567db6e7c5e9cc14190b904398 (patch)
tree03097123542e939917c8272a8911fbae003d180c /main.py
parentfixes #5 (diff)
downloadfaultreiber-b7683b916293c0567db6e7c5e9cc14190b904398.tar.gz
faultreiber-b7683b916293c0567db6e7c5e9cc14190b904398.zip
update
Diffstat (limited to '')
-rwxr-xr-xmain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 62eadb5..14c5846 100755
--- a/main.py
+++ b/main.py
@@ -48,11 +48,11 @@ def type_resolver(elem, elem_list):
elif type_str == "bool":
return "uint8_t"
elif type_str == "uchar":
- return "int8_t"
+ return "uint8_t"
elif type_str == "schar":
return "schar_t"
elif type_str == "string":
- return "char*"
+ return "unsigned char*"
elif type_str == "FT::conditional":
return "void*"
elif type_str.find("self::") == 0: