From 54ccc71786cf5a0fee69e7ec173e62abd4a12af5 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Sat, 5 Nov 2011 18:01:32 -0500 Subject: examples/general.c: update for recent API renaming of git_config_get_int git_config_get_int --> git_config_get_int32 --- examples/general.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/general.c') 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); -- cgit v1.2.1