error in writeJavaLong() and readJavaLong()
-------------------------------------------
Key: CAROB-53
URL: https://forge.continuent.org/jira/browse/CAROB-53
Project: Carob
Type: Bug
Components: C++ API
Reporter: Zsolt Simon
Assigned to: Zsolt Simon
when receiving extreme long numbers which will not fit in an int32_t, the
functions writeJavaLong() and readJavaLong() will not work correctly.
After investigating the problem is, that they use htonl() and ntohl()
conversion functions. But both of this conversion functions work only with
int32_t ! so the upper part of the int64_t is lost ....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob