VirtualBox

Changeset 5666 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Nov 11, 2007 4:25:51 AM (17 years ago)
Author:
vboxsync
Message:

PFNSTRFORMAT should return size_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/logformat.cpp

    r5415 r5666  
    3535*   Internal Functions                                                         *
    3636*******************************************************************************/
    37 static DECLCALLBACK(int) rtlogFormatStr(void *pvArg, PFNRTSTROUTPUT pfnOutput,
    38                                         void *pvArgOutput, const char **ppszFormat,
    39                                         va_list *pArgs, int cchWidth, int cchPrecision,
    40                                         unsigned fFlags, char chArgSize);
     37static DECLCALLBACK(size_t) rtlogFormatStr(void *pvArg, PFNRTSTROUTPUT pfnOutput,
     38                                           void *pvArgOutput, const char **ppszFormat,
     39                                           va_list *pArgs, int cchWidth, int cchPrecision,
     40                                           unsigned fFlags, char chArgSize);
    4141
    4242
     
    7474 * @param   chArgSize       The argument size specifier, 'l' or 'L'.
    7575 */
    76 static DECLCALLBACK(int) rtlogFormatStr(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput,
    77     const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize)
     76static DECLCALLBACK(size_t) rtlogFormatStr(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput,
     77                                           const char **ppszFormat, va_list *pArgs, int cchWidth,
     78                                           int cchPrecision, unsigned fFlags, char chArgSize)
    7879{
    7980    char ch = *(*ppszFormat)++;
Note: See TracChangeset for help on using the changeset viewer.

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