[PATCH] datatype inconsistency in wsp_strings.c

Vjacheslav Chekushin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization LMT
Message-ID <[email protected]>
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
64bit.patch (text/plain, 345 B)
--- ../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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.