Changeset 6845


Ignore:
Timestamp:
10/18/16 15:11:11 (3 years ago)
Author:
paulf
Message:

cleaned up some gcc warnings in pickwasher...not sure if anybody uses this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/data_exchange/pickwasher/pickwasher.c

    r5066 r6845  
    411411                        exit (-1); 
    412412                } 
    413                 fprintf(Seq_file, "%d", file_number); 
     413                fprintf(Seq_file, "%ld", file_number); 
    414414                fclose(Seq_file); 
    415415        } 
     
    10251025 
    10261026   if( type == TypeHeartBeat ) 
    1027         sprintf( msg, "%ld %ld\n\0", t, MyPid); 
     1027        sprintf( msg, "%ld %ld\n", t, (long) MyPid); 
    10281028   else if( type == TypeError ) 
    10291029   { 
    1030         sprintf( msg, "%ld %hd %s\n\0", t, ierr, note); 
     1030        sprintf( msg, "%ld %hd %s\n", t, ierr, note); 
    10311031 
    10321032        logit( "et", "%s(%s): %s\n", Argv0, MyModName, note ); 
Note: See TracChangeset for help on using the changeset viewer.