Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

64-bit C programming

Can anybody recommend a good resource for how big C data types are when compiling on 32-bit vs. 64-bit platforms?

On both, what is:

int
void*
long
long long
printf formats

Apparently memcached has some 32-bit limits on 64-bit platforms, and I want to understand the problem before I apply some random "makes it work" patch.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 19 comments