Skip to content

Commit 42678a4

Browse files
committed
fix: correct type mapping for uint8 to uint8_t in return type handling
1 parent 5a735d9 commit 42678a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/cli/generators.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ namespace webcc
341341
ret_type = "int32_t";
342342
else if (ret_type == "uint32")
343343
ret_type = "uint32_t";
344+
else if (ret_type == "uint8")
345+
ret_type = "uint8_t";
344346
else if (ret_type == "float32")
345347
ret_type = "float";
346348
else if (ret_type == "float64")

0 commit comments

Comments
 (0)