diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-04-07 16:54:10 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@elego.de> | 2011-04-07 17:17:18 +0200 |
commit | b075b9910c56c356d53439fd34486a905146211a (patch) | |
tree | e2f4df1fe43a52efa252aa76fbada538e303a706 /src/commit.c | |
parent | 7a4dfd6028499d6f1089c87aa779d686e15f9285 (diff) | |
download | libgit2-b075b9910c56c356d53439fd34486a905146211a.tar.gz |
Add getting and setting of long int variables
long int is a safer type than int unless the user knows that the
variable is going to be quite small.
The code has been reworked to use strtol instead of the more
complicated sscanf.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions