Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-SS7 Roadmap-Fix

New issue 284 by [email protected]: org.mobicents.protocols.ss7.map.service.mobility.subscriberInformation.GeographicalInformationImpl.decodeLongitude
http://code.google.com/p/jss7/issues/detail?id=284

What steps will reproduce the problem?
1. Decoding Longitude Value

What is the expected output? What do you see instead?
Longitude is encode on 3 bytes,
the code as in the src is:
int i1 = ((data[begin] & 0xFF) << 16) + ((data[begin + 1] & 0xFF) << 8) + (data[begin + 1] & 0xFF);

while the correct is:

int i1 = ((data[begin] & 0xFF) << 16) + ((data[begin + 1] & 0xFF) << 8) + (data[begin + 2] & 0xFF);

What version of the product are you using? On what operating system?
2.0.0.CR2

Please provide any additional information below.




--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to