Changeset 7982


Ignore:
Timestamp:
03/28/19 21:01:22 (3 months ago)
Author:
stefan
Message:

hm, zu instead of d in printf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libsrc/util/cosmos0putaway.c

    r7980 r7982  
    302302                           the relevant characters to go up to 80, andything too long will get truncated. */ 
    303303                        sprintf(tempstr, "Rcrd start time:%s                             ", cos_date); 
    304                         sprintf(tempstr2, "RcrdId:%d.%s.%s.%s.%s                  ",  
     304                        sprintf(tempstr2, "RcrdId:%zu.%s.%s.%s.%s                  ",  
    305305                                arcmsg.sum.qid,ptrReq->net,  ptrReq->sta, ptrReq->loc, ptrReq->chan); 
    306306                        strncpy(tempstr + 51, tempstr2, 29); 
     
    335335                case 47: /*AQMS normally writes this comment, but we're not using AQMS*/ 
    336336                        /* Example: | RcrdId: NC.72282711.NC.C031.HNE.01 */ 
    337                         sprintf(tempstr, "| RcrdId: %s.%d.%s.%s.%s.%s ", /* FIX: If anyone knows what I can put here instead of 72282711, I'll do it!*/ 
     337                        sprintf(tempstr, "| RcrdId: %s.%zu.%s.%s.%s.%s ", /* FIX: If anyone knows what I can put here instead of 72282711, I'll do it!*/ 
    338338                                ptrReq->net, arcmsg.sum.qid, ptrReq->net, ptrReq->sta, ptrReq->chan, ptrReq->loc); 
    339339                        fprintf(COSMOS0fp, "%s\n", tempstr); 
Note: See TracChangeset for help on using the changeset viewer.