diff options
Diffstat (limited to 'cpp/rubygen/templates/structs.rb')
-rw-r--r-- | cpp/rubygen/templates/structs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb index 69405f05f5..422fd8c207 100644 --- a/cpp/rubygen/templates/structs.rb +++ b/cpp/rubygen/templates/structs.rb @@ -43,7 +43,7 @@ class StructGen < CppGen end def printable_form(f) - if (f.cpptype.name == "u_int8_t") + if (f.cpptype.name == "uint8_t") return "(int) " + f.cppname else return f.cppname |