You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Senaka Fernando (JIRA)" <ji...@apache.org> on 2008/03/06 18:19:00 UTC

[jira] Resolved: (AXIS2C-1039) int64_t cast down to an in serialization of types

     [ https://issues.apache.org/jira/browse/AXIS2C-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senaka Fernando resolved AXIS2C-1039.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)
         Assignee: Senaka Fernando

Fixed Issue

> 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
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org