VirtualBox

Changeset 40045 in vbox for trunk/src/libs


Ignore:
Timestamp:
Feb 9, 2012 9:16:49 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76171
Message:

libs/xpcom: format string in tools

Location:
trunk/src/libs/xpcom18a4/xpcom/typelib/xpt/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpt/tools/xpt_dump.c

    r1 r40045  
    225225        size_t rv = fread(whole, 1, flen, in);
    226226        if (rv < flen) {
    227             fprintf(stderr, "short read (%d vs %d)! ouch!\n", rv, flen);
     227            fprintf(stderr, "short read (%zd vs %zd)! ouch!\n", rv, flen);
    228228            goto out;
    229229        }
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpt/tools/xpt_link.c

    r1 r40045  
    227227            size_t rv = fread(whole, 1, flen, in);
    228228            if (rv < flen) {
    229                 fprintf(stderr, "short read (%d vs %d)! ouch!\n", rv, flen);
     229                fprintf(stderr, "short read (%zd vs %zd)! ouch!\n", rv, flen);
    230230                return 1;
    231231            }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette