[XForms] API regression to flimage.h on 64 bit machines since XForms 0.89

Angus Leeming angus.leeming at btopenworld.com
Tue May 18 05:27:34 EDT 2004


The change below assumes that a sizeof(pointer) == 4. Not so on 64 bit 
machines. How should we address this?

Angus


 typedef struct flimage_
 {
  int type; /* image type */
@@ -279,8 +311,10 @@
  int isPixmap;
  FLIMAGESETUP setup;
  char *info;
- int internal_reserved[16];
+ struct flimage_src_ *src; /* src other than file */
+ struct flimage_dest_ *dest; /* destination other than file */
+ int internal_reserved[14];
 }
 FL_IMAGE;



More information about the Xforms mailing list