Open Bug 1927477 Opened 12 days ago Updated 3 days ago

cubeb probably have incorrect behaviour when compiled for 64 bits.

Categories

(Core :: Audio/Video: cubeb, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: a.rainman, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Actual results:

21:05.52 C:/mozilla-source/mozilla-unified/media/libcubeb/src/cubeb_winmm.c(993,16): warning: cast to 'cubeb_devid' (aka 'const void *') from smaller integer type 'UINT' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
21:05.52 993 | ret->devid = (cubeb_devid)devid;
21:05.52 | ^~~~~~~~~~~~~~~~~~
21:05.53 C:/mozilla-source/mozilla-unified/media/libcubeb/src/cubeb_winmm.c(1018,16): warning: cast to 'cubeb_devid' (aka 'const void *') from smaller integer type 'UINT' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
21:05.53 1018 | ret->devid = (cubeb_devid)devid;
21:05.57 | ^~~~~~~~~~~~~~~~~~
21:05.62 C:/mozilla-source/mozilla-unified/media/libcubeb/src/cubeb_winmm.c(1064,16): warning: cast to 'cubeb_devid' (aka 'const void *') from smaller integer type 'UINT' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
21:05.68 1064 | ret->devid = (cubeb_devid)devid;
21:05.72 | ^~~~~~~~~~~~~~~~~~
21:05.78 C:/mozilla-source/mozilla-unified/media/libcubeb/src/cubeb_winmm.c(1089,16): warning: cast to 'cubeb_devid' (aka 'const void *') from smaller integer type 'UINT' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
21:05.85 1089 | ret->devid = (cubeb_devid)devid;

Expected results:

This code needs to be reviewed.

Severity: -- → S3
Summary: cubeb probably have incorrect bechaviour when compiled for 64 bits. → cubeb probably have incorrect behaviour when compiled for 64 bits.
You need to log in before you can comment on or make changes to this bug.