Dom, you're following this group, so I just post the patch here.

As far as I can tell from my C book (K&R, ANSI version) there's no
such thing as short field types. Only int, signed and unsigned ints.
And GCC barfs too.

Is there a particular reason for not making the below changes?

Ta,
Jesper


Index: wv.h
===================================================================
RCS file: /cvsroot/wv/wv.h,v
retrieving revision 1.67
diff -u -5 -r1.67 wv.h
--- wv.h        2000/10/13 07:45:53     1.67
+++ wv.h        2000/10/21 07:59:17
@@ -749,16 +749,16 @@
        U32 grfSuppression:2;   
        U32 fpc:2;                      /*where footnotes are put*/     
        U32 reserved1:1;
        U32 grpfIhdt:8;
        U32 rncFtn:2;   /*how to restart footnotes*/
-       U16 fFtnRestart:1; /* Word 2*/
+       U32 fFtnRestart:1; /* Word 2*/
 
        U32 nFtn:15;    /*first footnote no. WORD 2: int :15*/
 
        U8 irmBar;    /* W2 */
-       U16 irmProps:7; /* W2 */
+       U32 irmProps:7; /* W2 */
 
        U32 fOutlineDirtySave:1;
        U32 reserved2:7;
        U32 fOnlyMacPics:1;
        U32 fOnlyWinPics:1;
@@ -774,22 +774,22 @@
        U32 fPagHidden:1;
        U32 fPagResults:1;
        U32 fLockAtn:1;
        U32 fMirrorMargins:1;
 
-       U16 fKeepFileFormat:1; /* W2 */
+       U32 fKeepFileFormat:1; /* W2 */
 
        U32 reserved3:1;
 
        U32 fDfltTrueType:1;
        U32 fPagSuppressTopSpacing:1;
 
-       U16 fRTLAlignment:1; /* W2 */
-        U16 reserved3a:6;    /* " */
-        U16 reserved3b:7;    /* " */
+       U32 fRTLAlignment:1; /* W2 */
+        U32 reserved3a:6;    /* " */
+        U32 reserved3b:7;    /* " */
 
-       U16 fSpares:16;      /* W2 */
+       U32 fSpares:16;      /* W2 */
 
        U32 fProtEnabled:1;
        U32 fDispFormFldSel:1;
        U32 fRMView:1;
        U32 fRMPrint:1;



Reply via email to