diff options
author | Brandon Casey <drafnel@gmail.com> | 2011-11-05 18:01:32 -0500 |
---|---|---|
committer | Brandon Casey <drafnel@gmail.com> | 2011-11-05 18:01:32 -0500 |
commit | 54ccc71786cf5a0fee69e7ec173e62abd4a12af5 (patch) | |
tree | d6429ddc21442559398fb0cd2fbb76beb8629ce5 /examples/general.c | |
parent | d3104fa0a3f3711729b45346e475354440d46cc3 (diff) | |
download | libgit2-54ccc71786cf5a0fee69e7ec173e62abd4a12af5.tar.gz |
examples/general.c: update for recent API renaming of git_config_get_int
git_config_get_int --> git_config_get_int32
Diffstat (limited to 'examples/general.c')
-rw-r--r-- | examples/general.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/general.c b/examples/general.c index 9bfbc4083..8b58fa6ff 100644 --- a/examples/general.c +++ b/examples/general.c @@ -430,14 +430,14 @@ int main (int argc, char** argv) printf("\n*Config Listing*\n"); const char *email; - int j; + int32_t j; git_config *cfg; // Open a config object so we can read global values from it. git_config_open_ondisk(&cfg, "~/.gitconfig"); - git_config_get_int(cfg, "help.autocorrect", &j); + git_config_get_int32(cfg, "help.autocorrect", &j); printf("Autocorrect: %d\n", j); git_config_get_string(cfg, "user.email", &email); |