| author | Simon 'corecode' Schubert <corecode@fs.ei.tum.de> | |
| Wed, 17 Jan 2007 08:07:23 +0000 (09:07 +0100) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Thu, 18 Jan 2007 22:11:50 +0000 (14:11 -0800) | ||
| commit | bb7910319412aea9fecc3625dfcae23da84ee5f1 | |
| tree | 9aae7ca11a113aa1975e116a6ad82879e853caea | tree | snapshot |
| parent | 917a8f891f1ceeb48609f99ba3b32e022ac766f9 | commit | diff |
Use fixed-size integers for the on-disk pack structure.
Plain integer types without a fixed size can vary between platforms. Even
though all common platforms use 32-bit ints, there is no guarantee that
this won't change at some point. Furthermore, specifying an integer type
with explicit size makes the definition of structures more obvious.
Signed-off-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Plain integer types without a fixed size can vary between platforms. Even
though all common platforms use 32-bit ints, there is no guarantee that
this won't change at some point. Furthermore, specifying an integer type
with explicit size makes the definition of structures more obvious.
Signed-off-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
| git-compat-util.h | diff | blob | history | |
| pack.h | diff | blob | history |