Changeset 46 for trunk/src/sh_files.c


Ignore:
Timestamp:
Jun 9, 2006, 10:38:20 PM (18 years ago)
Author:
rainer
Message:

Fix x86_64 build failure with gcc 4.x (as well as some gcc 4.x warnings)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_files.c

    r40 r46  
    204204  char       * dir;
    205205  char       * file;
     206  int          tmp_reported;
    206207 
    207208  SL_ENTER(_("sh_files_chk"));
     
    233234
    234235          BREAKEXIT(sh_files_filecheck);
     236          tmp_reported = ptr->reported; /* fix aliasing warning */
    235237          status = sh_files_filecheck (ptr->class, dir, file,
    236                                        (int *) &(ptr->reported), 0);
     238                                       &tmp_reported, 0);
     239          ptr->reported = tmp_reported;
    237240         
    238241          TPT(( 0, FIL__, __LINE__,
Note: See TracChangeset for help on using the changeset viewer.