[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0alpha1-26-ga64af1feb
git at osgeo.org
git at osgeo.org
Fri Jun 10 21:38:44 PDT 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via a64af1feb79f40d9e5714a5b09ad3ec07a04b742 (commit)
from 2ff0afaef752fb447b2922b963ea987f310f0887 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a64af1feb79f40d9e5714a5b09ad3ec07a04b742
Author: Regina Obe <lr at pcorp.us>
Date: Sat Jun 11 00:38:38 2022 -0400
Fix copy paste error, should have been atoi instead of atof. References #5170
diff --git a/raster/loader/raster2pgsql.c b/raster/loader/raster2pgsql.c
index cd7f772c5..9f95a395e 100644
--- a/raster/loader/raster2pgsql.c
+++ b/raster/loader/raster2pgsql.c
@@ -2604,7 +2604,7 @@ main(int argc, char **argv) {
/* max tiles per copy */
else if (CSEQUAL(argv[argit], "-Z") && argit < argc - 1) {
- config->max_tiles_per_copy = atof(argv[++argit]);
+ config->max_tiles_per_copy = atoi(argv[++argit]);
}
/* GDAL formats */
else if (CSEQUAL(argv[argit], "-G")) {
-----------------------------------------------------------------------
Summary of changes:
raster/loader/raster2pgsql.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list