Ignore:
Timestamp:
Aug 3, 2006, 11:17:09 PM (13 years ago)
Author:
andree
Message:

Fixed compiler warnings on amd64 (and likely 64bit in general):

  • "cast to pointer from integer of different size" by making relevant variables long rather than int which gives 32bit on i386 and 64bit on amd64;
  • "cast from pointer to integer of different size" by casting to long rather than int for same reasons.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/newt-specific.c

    r585 r738  
    16051605
    16061606        /*@ int ************************************************************* */
    1607         int i = 0;
    16081607        int currline = 0;
    16091608        int finished = FALSE;
     1609
     1610        /*@ long ************************************************************ */
     1611        long i = 0;
    16101612        long lng = 0;
    16111613
     
    16571659        }
    16581660        sprintf(differ_sz,
    1659                 "  %d files differ. Hit 'Select' to pick a file. Hit 'Close' to quit the list.",
     1661                "  %ld files differ. Hit 'Select' to pick a file. Hit 'Close' to quit the list.",
    16601662                i);
    16611663        newtPushHelpLine(differ_sz);
Note: See TracChangeset for help on using the changeset viewer.