Permalink
Browse files

Fix segfault in PHP MapScript implementation of saveQuery with result…

…s parameter set.
  • Loading branch information...
mkofahl committed May 11, 2015
1 parent de6a8d4 commit eb9e5a43a7fad78855a84cfbbdb8e2efbcd25f5a
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapscript/php/map.c
View
@@ -1951,7 +1951,7 @@ PHP_METHOD(mapObj, saveQuery)
zval *zobj = getThis();
char *filename;
long filename_len = 0;
- int results = MS_FALSE;
+ long results = MS_FALSE;
int status = MS_FAILURE;
php_map_object *php_map;

0 comments on commit eb9e5a4

Please sign in to comment.