aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-declextract/syz-declextract.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-declextract/syz-declextract.cpp b/tools/syz-declextract/syz-declextract.cpp
index 3c6c40a23..be63fa8cf 100644
--- a/tools/syz-declextract/syz-declextract.cpp
+++ b/tools/syz-declextract/syz-declextract.cpp
@@ -226,7 +226,7 @@ IntType getIntType(const std::string &ctype, const bool isSyscallParam) {
if (contains(ctype, "16") || contains(ctype, "short")) {
return INT_16;
}
- if (contains(ctype, "8") || contains(ctype, "char")) {
+ if (contains(ctype, "8") || contains(ctype, "char") || ctype == "_Bool") {
return INT_8;
}
if (contains(ctype, "32") || contains(ctype, "int")) {