axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-1039) int64_t cast down to an in serialization of types
Date Thu, 06 Mar 2008 17:19:00 GMT

     [ 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


Mime
View raw message