From ec01ab6dc848c0500f70f360da9f6fbaf05819b0 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 18 Mar 2011 19:43:25 +0000 Subject: [PATCH] Jeff Adams: Changed variables we are storing getopt result in from char to int, since int is the return type from the getopt function. (#663) git-svn-id: http://svn.osgeo.org/postgis/trunk@6935 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql-cli.c | 2 +- loader/shp2pgsql-gui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/shp2pgsql-cli.c b/loader/shp2pgsql-cli.c index 7da079b64..d10bdc82d 100644 --- a/loader/shp2pgsql-cli.c +++ b/loader/shp2pgsql-cli.c @@ -65,7 +65,7 @@ main (int argc, char **argv) SHPLOADERCONFIG *config; SHPLOADERSTATE *state; char *header, *footer, *record; - char c; + int c; int ret, i; #ifdef USE_NLS diff --git a/loader/shp2pgsql-gui.c b/loader/shp2pgsql-gui.c index ef41cf88c..038188592 100644 --- a/loader/shp2pgsql-gui.c +++ b/loader/shp2pgsql-gui.c @@ -2475,7 +2475,7 @@ usage() int main(int argc, char *argv[]) { - char c; + int c; #ifdef USE_NLS setlocale (LC_ALL, ""); -- 2.50.1