Print SRID in decimal form, not hex (#1593)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9245 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2012-02-21 11:07:44 +00:00
parent ecdaa2d538
commit d1057b7c09

View file

@ -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;
}