VirtualBox

Ignore:
Timestamp:
Jan 23, 2024 10:10:13 AM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161229
Message:

IPRT: Shut up some deprecated function warnings with macOS SDK 13.

File:
1 edited

Legend:

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

    r99775 r102997  
    979979
    980980
    981 /** the data store for stream two. */
     981/** The data store for stream two. */
    982982static char g_szStream2[10240];
    983983static unsigned volatile g_offStream2 = 0;
     
    10111011    va_list va;
    10121012    va_start(va, pszFormat);
     1013#if 1
     1014    int cch = vsnprintf(&g_szStream2[offStream2], sizeof(g_szStream2) - offStream2, pszFormat, va);
     1015#else
    10131016    int cch = vsprintf(&g_szStream2[offStream2], pszFormat, va);
     1017#endif
    10141018    va_end(va);
    10151019    offStream2 += cch;
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