Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 626 by [email protected]: 64bit portability issue
http://code.google.com/p/protobuf/issues/detail?id=626
What steps will reproduce the problem?
1.Function 'int index() const' in class of 'Descriptor' @ descriptor.h
should change the return type from int to ptrdiff_t
What is the expected output? What do you see instead?
the code should compile with no error for 64bit platform
On 64bit platform, the function 'index()' mentioned, convert a pointer
to int this will lead to unknown result, because pointer is 64bit but int
is 32bit.
What version of the product are you using? On what operating system?
2.5.0
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 "Protocol
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.