VirtualBox

Changeset 50292 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Jan 30, 2014 4:30:46 PM (11 years ago)
Author:
vboxsync
Message:

r3/process-creation-posix: snprintf format-specifier warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r49530 r50292  
    241241    char ctlPath[PATH_MAX];
    242242    size_t len = snprintf(ctlPath, sizeof(ctlPath),
    243                           CTFS_ROOT "/process/%d/ctl", ctId);
     243                          CTFS_ROOT "/process/%ld/ctl", (long)ctId);
    244244    if (len >= sizeof(ctlPath))
    245245        return;
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