Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/x11
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17396

Modified Files:
        lesstif.patch 
Log Message:
fix instances of cast from pointer to integer of different size

Index: lesstif.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/x11/lesstif.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- lesstif.patch       28 Aug 2009 02:30:57 -0000      1.7
+++ lesstif.patch       29 Aug 2009 21:15:06 -0000      1.8
@@ -69,3 +69,23 @@
        break;
  
      case 16:
+--- lesstif-0.95.2/lib/Xm-2.1/XmString.c.org   2009-08-29 16:58:59.000000000 
-0400
++++ lesstif-0.95.2/lib/Xm-2.1/XmString.c       2009-08-29 17:00:48.000000000 
-0400
+@@ -5481,7 +5481,7 @@
+          XtPointer *value)
+ {
+       _XmWarning(NULL, "XmStringGetNextTriple() is not implemented yet!\n");
+-      return (XmStringComponentType)NULL;
++      return (XmStringComponentType)(uintptr_t)NULL;
+ }
+ 
+ 
+@@ -5517,7 +5517,7 @@
+               str->components[0]->type = XmSTRING_COMPONENT_DIRECTION;
+               str->components[0]->length = 0;
+               str->components[0]->data = XtMalloc(sizeof(int));
+-              str->components[0]->data[0] = (int)value;
++              str->components[0]->data[0] = (int)(uintptr_t)value;
+               r = _XmStringCreateExternal(NULL, str);
+               _XmStringFree(str);
+               return r;


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to