Changeset 24010 in vbox for trunk/src/VBox
- Timestamp:
- Oct 23, 2009 8:28:33 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53849
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r23970 r24010 1565 1565 s->port=qemu_get_be32 (f); 1566 1566 s->ver=qemu_get_be32 (f); 1567 1567 1568 s->in_index=qemu_get_be32 (f); 1568 1569 s->out_data_len=qemu_get_be32 (f); -
trunk/src/VBox/Devices/Network/DrvTAP.cpp
r22277 r24010 28 28 29 29 #include <iprt/assert.h> 30 #include <iprt/ctype.h> 30 31 #include <iprt/file.h> 31 32 #include <iprt/string.h> … … 57 58 # include <stropts.h> 58 59 # include <fcntl.h> 59 # include <ctype.h>60 60 # include <stdlib.h> 61 61 # include <stdio.h> … … 647 647 { 648 648 size_t cch = strlen(pThis->pszDeviceName); 649 if (cch > 1 && isdigit(pThis->pszDeviceName[cch - 1]) != 0)649 if (cch > 1 && RT_C_IS_DIGIT(pThis->pszDeviceName[cch - 1]) != 0) 650 650 iPPA = pThis->pszDeviceName[cch - 1] - '0'; 651 651 } … … 921 921 * Check that no-one is attached to us. 922 922 */ 923 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, 923 AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, 924 924 ("Configuration error: Not possible to attach anything to this driver!\n"), 925 925 VERR_PDM_DRVINS_NO_ATTACH); … … 1094 1094 NULL, 1095 1095 /* pfnDetach */ 1096 NULL, 1096 NULL, 1097 1097 /* pfnPowerOff */ 1098 NULL, 1098 NULL, 1099 1099 /* pfnSoftReset */ 1100 1100 NULL,
Note:
See TracChangeset
for help on using the changeset viewer.