diff options
Diffstat (limited to 'python/generator.cpp')
| -rw-r--r-- | python/generator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/generator.cpp b/python/generator.cpp index f78324cf..4901b07a 100644 --- a/python/generator.cpp +++ b/python/generator.cpp @@ -344,7 +344,8 @@ int main(int argc, char* argv[]) { if ((arg.type->GetClass() == PointerTypeClass) && (arg.type->GetChildType()->GetWidth() == 1) && - (arg.type->GetChildType()->IsSigned())) + (arg.type->GetChildType()->IsSigned()) && + (!arg.type->GetChildType()->IsBool())) { stringArgument = true; break; |
