From: Sandro Santilli Date: Tue, 21 Feb 2012 11:07:44 +0000 (+0000) Subject: Print SRID in decimal form, not hex (#1593) X-Git-Tag: 2.0.0alpha6~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1057b7c0912f499b9aa4634678bed221552dcaa;p=postgis Print SRID in decimal form, not hex (#1593) git-svn-id: http://svn.osgeo.org/postgis/trunk@9245 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-core.c b/loader/shp2pgsql-core.c index 96e7b3c4e..592bd5d14 100644 --- a/loader/shp2pgsql-core.c +++ b/loader/shp2pgsql-core.c @@ -1317,7 +1317,7 @@ ShpLoaderGetSQLHeader(SHPLOADERSTATE *state, char **strheader) dimschar = ""; if (state->to_srid != SRID_UNKNOWN && state->to_srid != 4326) { - snprintf(state->message, SHPLOADERMSGLEN, _("Invalid SRID for geography type: %x"), state->to_srid); + snprintf(state->message, SHPLOADERMSGLEN, _("Invalid SRID for geography type: %d"), state->to_srid); stringbuffer_destroy(sb); return SHPLOADERERR; }