-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/bldprogs/biossums.c:244:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
244 | abBios[cbIn-1] = calculateChecksum(abBios, cbIn, cbIn - 1);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/include/iprt/bldprog-strtab-template.cpp.h:254:50: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
254 | pThis->papStrHash = (PBLDPROGSTRING *)calloc(sizeof(pThis->papStrHash[0]), cMaxStrings);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/include/iprt/bldprog-strtab-template.cpp.h:259:61: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
259 | pThis->papPendingStrings = (PBLDPROGSTRING *)calloc(sizeof(pThis->papPendingStrings[0]), pThis->cMaxPendingStrings);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Runtime/common/asn1/oiddb2c.cpp:249:42: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
249 | g_pOidRoot = (PRAWOIDNODE)calloc(sizeof(*g_pOidRoot), 1);
| ^~~~~~~~~~~~~~~~~~~
-
/usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
| ^~~~~~~
-
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
| ^~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:213:32: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147765622' to '-2147201674' [-Woverflow]
213 | int err = ioctl(hFile, OSS_GETVERSION, &ossVer);
| ^~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:289:5: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508101' to '-1073459195' [-Woverflow]
289 | AssertLogRelMsgReturn(ioctl(hFile, SNDCTL_DSP_SAMPLESIZE, &iFormat) >= 0,
| ^~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:297:5: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508102' to '-1073459194' [-Woverflow]
297 | AssertLogRelMsgReturn(ioctl(hFile, SNDCTL_DSP_CHANNELS, &cChannels) >= 0,
| ^~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:306:5: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508098' to '-1073459198' [-Woverflow]
306 | AssertLogRelMsgReturn(ioctl(hFile, SNDCTL_DSP_SPEED, &iFrequenc) >= 0,
| ^~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:317:5: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221508106' to '-1073459190' [-Woverflow]
317 | AssertLogRelMsgReturn(ioctl(hFile, SNDCTL_DSP_SETFRAGMENT, &mmmmssss) >= 0,
| ^~~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:705:40: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148552716' to '-2146414580' [-Woverflow]
705 | int rc2 = ioctl(pStreamOSS->hFile, SNDCTL_DSP_GETOSPACE, &BufInfo);
| ^~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:756:40: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148552716' to '-2146414580' [-Woverflow]
756 | int rc2 = ioctl(pStreamOSS->hFile, SNDCTL_DSP_GETOSPACE, &BufInfo);
| ^~~~~~~~~~~~~~~~~~~~
-
/home/buildozer/aports/community/virtualbox-guest-additions/src/VirtualBox-7.0.22/src/VBox/Devices/Audio/DrvHostAudioOss.cpp:832:40: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148552717' to '-2146414579' [-Woverflow]
832 | int rc2 = ioctl(pStreamOSS->hFile, SNDCTL_DSP_GETISPACE, &BufInfo);
| ^~~~~~~~~~~~~~~~~~~~