summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/templates/structs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/rubygen/templates/structs.rb')
-rw-r--r--qpid/cpp/rubygen/templates/structs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/rubygen/templates/structs.rb b/qpid/cpp/rubygen/templates/structs.rb
index 69405f05f5..422fd8c207 100644
--- a/qpid/cpp/rubygen/templates/structs.rb
+++ b/qpid/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