Hi, list.
This patch fix quite obviouse data type inconsistency.

This make sence in 64 bit environment where sizeof(int) != sizeof(long)

--
Vjacheslav Chekushin                                mailto:[EMAIL PROTECTED]
Latvian Mobile Phone Company                        http://www.lmt.lv
--- ../gateway-1.3.2_base/wap/wsp_strings.c     Thu Jan 22 16:08:25 2004
+++ wap/wsp_strings.c   Mon Aug 16 14:52:38 2004
@@ -203,7 +203,7 @@
 static long string_to_versioned_number(Octstr *ostr, struct table *table, 
                                        int version)
 {
-    unsigned int i, ret;
+    long i, ret;
 
     gw_assert(initialized);
 

Reply via email to