VirtualBox

Ignore:
Timestamp:
Nov 10, 2008 11:33:15 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39122
Message:

strformat.cpp: shut up 64-bit MSC warnings. (hope this fix doesn't incur the wrath of gcc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformat.cpp

    r11376 r14066  
    8787        psz++;
    8888
    89     return psz - pszC;
     89    return (unsigned)(psz - pszC);
    9090}
    9191
     
    117117        pwsz++;
    118118
    119     return pwsz - pwszC;
     119    return (unsigned)(pwsz - pwszC);
    120120#endif  /* !IN_RING3 */
    121121}
     
    135135        pusz++;
    136136
    137     return pusz - puszC;
     137    return (unsigned)(pusz - puszC);
    138138}
    139139
     
    306306
    307307    *psz = '\0';
    308     return psz - pszStart;
     308    return (unsigned)(psz - pszStart);
    309309}
    310310
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