diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-08-09 14:58:01 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-08-09 14:58:01 +0000 |
commit | 3f862089b748741b30e343d2051a4747a3bff2f2 (patch) | |
tree | 18d1dde1504e2d510a24f4d55aeee21bfea7c04f /cpp/src/Slice/CsUtil.cpp | |
parent | fixing bug 1291 (diff) | |
download | ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.bz2 ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.xz ice-3f862089b748741b30e343d2051a4747a3bff2f2.zip |
Borland C++Builder port mass commit
Diffstat (limited to 'cpp/src/Slice/CsUtil.cpp')
-rwxr-xr-x | cpp/src/Slice/CsUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Slice/CsUtil.cpp b/cpp/src/Slice/CsUtil.cpp index 40bc0a5e705..6322c18219c 100755 --- a/cpp/src/Slice/CsUtil.cpp +++ b/cpp/src/Slice/CsUtil.cpp @@ -498,17 +498,17 @@ Slice::CsGenerator::writeMarshalUnmarshalCode(Output &out, if(sz <= 0x7f) { func = marshal ? "writeByte" : "readByte"; - cast = marshal ? "(byte)" : "(" + fixId(en->scoped()) + ")"; + cast = marshal ? string("(byte)") : "(" + fixId(en->scoped()) + ")"; } else if(sz <= 0x7fff) { func = marshal ? "writeShort" : "readShort"; - cast = marshal ? "(short)" : "(" + fixId(en->scoped()) + ")"; + cast = marshal ? string("(short)") : "(" + fixId(en->scoped()) + ")"; } else { func = marshal ? "writeInt" : "readInt"; - cast = marshal ? "(int)" : "(" + fixId(en->scoped()) + ")"; + cast = marshal ? string("(int)") : "(" + fixId(en->scoped()) + ")"; } if(marshal) { |