int64_t cast down to an in serialization of types
-------------------------------------------------
Key: AXIS2C-1039
URL: https://issues.apache.org/jira/browse/AXIS2C-1039
Project: Axis2-C
Issue Type: Bug
Components: code generation
Affects Versions: Current (Nightly)
Reporter: Frank Huebbers
In the serialization of the types, I was able to track down a problem where
int64_t types are cast down to int types, thereby causing truncation problems.
In one of my generated code excerpts, I get the following:
sprintf (text_value_3, "%d", (int)_addMyType->property_myInt64Value);
What this should read instead, however, is the following:
sprintf (text_value_3, "%ld", _addMyType->property_myInt64Value);
Frank
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]