[mapserver-commits] r9954 - in trunk/mapserver: . mapscript/php

svn at osgeo.org svn at osgeo.org
Thu Mar 18 14:31:39 EDT 2010


Author: aboudreault
Date: 2010-03-18 14:31:38 -0400 (Thu, 18 Mar 2010)
New Revision: 9954

Modified:
   trunk/mapserver/cgiutil.c
   trunk/mapserver/cgiutil.h
   trunk/mapserver/mapscript/php/mapscript_i.c
   trunk/mapserver/mapscript/php/php_mapscript.h
Log:
Replaced uint type by ms_uint32 at some places..

Modified: trunk/mapserver/cgiutil.c
===================================================================
--- trunk/mapserver/cgiutil.c	2010-03-17 21:17:22 UTC (rev 9953)
+++ trunk/mapserver/cgiutil.c	2010-03-18 18:31:38 UTC (rev 9954)
@@ -33,8 +33,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#include "mapserver.h"
 #include "cgiutil.h"
-#include "mapserver.h"
 
 MS_CVSID("$Id$")
 
@@ -119,7 +119,7 @@
 int loadParams(cgiRequestObj *request, 
                char* (*getenv2)(const char*, void* thread_context),
                char *raw_post_data,
-               uint raw_post_data_length,
+               ms_uint32 raw_post_data_length,
                void* thread_context) {
   register int x,m=0;
   char *s, *queryString = NULL, *httpCookie = NULL;

Modified: trunk/mapserver/cgiutil.h
===================================================================
--- trunk/mapserver/cgiutil.h	2010-03-17 21:17:22 UTC (rev 9953)
+++ trunk/mapserver/cgiutil.h	2010-03-18 18:31:38 UTC (rev 9954)
@@ -32,6 +32,7 @@
 #ifndef CGIUTIL_H
 #define CGIUTIL_H
 
+
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #  define MS_DLL_EXPORT     __declspec(dllexport)
 #else
@@ -75,7 +76,7 @@
 */
 #ifndef SWIG
 MS_DLL_EXPORT int loadParams(cgiRequestObj *request, char* (*getenv2)(const char*, void* thread_context), 
-                             char *raw_post_data, uint raw_post_data_length, void* thread_context);
+                             char *raw_post_data, ms_uint32 raw_post_data_length, void* thread_context);
 MS_DLL_EXPORT void getword(char *, char *, char);
 MS_DLL_EXPORT char *makeword_skip(char *, char, char);
 MS_DLL_EXPORT char *makeword(char *, char);

Modified: trunk/mapserver/mapscript/php/mapscript_i.c
===================================================================
--- trunk/mapserver/mapscript/php/mapscript_i.c	2010-03-17 21:17:22 UTC (rev 9953)
+++ trunk/mapserver/mapscript/php/mapscript_i.c	2010-03-18 18:31:38 UTC (rev 9954)
@@ -1425,7 +1425,7 @@
 int cgirequestObj_loadParams(cgiRequestObj *self, 
                              char* (*getenv2)(const char*, void* thread_context), 
                              char *raw_post_data,
-                             uint raw_post_data_length,
+                             ms_uint32 raw_post_data_length,
                              void* thread_context)
 {
     self->NumParams = loadParams(self, getenv2, raw_post_data, raw_post_data_length, thread_context);

Modified: trunk/mapserver/mapscript/php/php_mapscript.h
===================================================================
--- trunk/mapserver/mapscript/php/php_mapscript.h	2010-03-17 21:17:22 UTC (rev 9953)
+++ trunk/mapserver/mapscript/php/php_mapscript.h	2010-03-18 18:31:38 UTC (rev 9954)
@@ -738,7 +738,7 @@
 int cgirequestObj_loadParams(cgiRequestObj *self, 
                              char* (*getenv2)(const char*, void* thread_context), 
                              char *raw_post_data,
-                             uint raw_post_data_length,
+                             ms_uint32 raw_post_data_length,
                              void* thread_context);
 void cgirequestObj_setParameter(cgiRequestObj *self, char *name, char *value);
 char *cgirequestObj_getName(cgiRequestObj *self, int index);



More information about the mapserver-commits mailing list