Changeset 846 for trunk/dll/saveclip.c


Ignore:
Timestamp:
Sep 27, 2007, 11:16:00 PM (18 years ago)
Author:
Steven Levine
Message:

Correct ULONGLONG size formatting to avoid traps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/saveclip.c

    r841 r846  
    1818  06 Aug 07 GKY Increase Subject EA to 1024
    1919  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     20  27 Sep 07 SHL Correct ULONGLONG size formatting
    2021
    2122***********************************************************************/
     
    450451                      break;
    451452                    case 'Z':
    452                       fprintf(fp, "%-13lu", pci->cbFile);
     453                      // 27 Sep 07 SHL fixme to use CommaFmtULL?
     454                      fprintf(fp, "%-13llu", pci->cbFile);
    453455                      break;
    454456                    case 'z':
    455                       fprintf(fp, "%lu", pci->cbFile);
     457                      // 27 Sep 07 SHL fixme to use CommaFmtULL?
     458                      fprintf(fp, "%llu", pci->cbFile);
    456459                      break;
    457460                    case 'E':
     
    890893                      break;
    891894                    case 'Z':
    892                       fprintf(fp, "%-13lu", ffb4.cbFile);
     895                      // 27 Sep 07 SHL fixme to use CommaFmtULL?
     896                      fprintf(fp, "%-13llu", ffb4.cbFile);
    893897                      break;
    894898                    case 'z':
    895                       fprintf(fp, "%lu", ffb4.cbFile);
     899                      // 27 Sep 07 SHL fixme to use CommaFmtULL?
     900                      fprintf(fp, "%llu", ffb4.cbFile);
    896901                      break;
    897902                    case 'E':
Note: See TracChangeset for help on using the changeset viewer.