Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
ptrdiff_t maximum
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="John Kelly, post: 4121936"] OK. Another thinko. Apparently the (unsigned) cast means (int) and truncates the size of ptrdiff_t. I suppose (unsigned long long) would work but that's the same hack as 2llu. I was looking for a dynamic way of treating ptrdiff_t type as unsigned, but maybe that's not possible with C. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
ptrdiff_t maximum
Top