commit | 24e57d5660a1f5daf37e36d449d31a342fbcb9cf | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Mon Feb 27 18:50:55 2012 -0800 |
committer | Alex Ray <aray@google.com> | Tue Jul 30 13:56:59 2013 -0700 |
tree | 2ce22b21b945d0116cb5ed4a989fb72223c78852 | |
parent | 2bd99599bb9eef197e6d1ccacb9f808ebfbcc598 [diff] |
Fixed several 64-bit porting issues 1. Use "%zu" instead of "%d" for size_t in printf 2. Variable precision specifier (eg. "%.*s") in printf should be of type int. (iov_len is size_t which is 64-bit when compiled with -m64) 3. Use PRId64 instead of "%lld" to print variables of type int64_t Change-Id: I2be40a6514b5dffa0038d62b9bccc3401b8756e6