]> granicus.if.org Git - postgis/commitdiff
Jeff Adams: Changed variables we are storing getopt result in from char to int, since...
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 18 Mar 2011 19:43:25 +0000 (19:43 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 18 Mar 2011 19:43:25 +0000 (19:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6935 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-cli.c
loader/shp2pgsql-gui.c

index 7da079b64074fdae02d2f3b701390334c634512f..d10bdc82d6afd3d6b2250a5777cf8d3f49c9380c 100644 (file)
@@ -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
index ef41cf88c400ddcc42b4725bf9e34ff8b988d41f..03818859273731d3402f458a1a7c415b9df4b610 100644 (file)
@@ -2475,7 +2475,7 @@ usage()
 int
 main(int argc, char *argv[])
 {
-       char c;
+       int c;
 
 #ifdef USE_NLS
     setlocale (LC_ALL, "");