You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typedef long int MY_TYPE;
#define FORMAT RTAUDIO_SINT32
become problematic on 64-bit systems, or more in general wherever long int is not 32 bits.
There are two instances of this in tests/duplex.cpp and tests/playsaw.cpp and tests/record.cpp, but they were commented out, so wouldn't get caught by tests. Other tests use signed int instead which may be OK, but I'd suggest to have all the types be explicit using fixed-width integers from stdint.h.
The text was updated successfully, but these errors were encountered:
giuliomoro
added a commit
to giuliomoro/rtaudio
that referenced
this issue
Feb 2, 2024
Idioms such as:
become problematic on 64-bit systems, or more in general wherever
long int
is not 32 bits.There are two instances of this in
tests/duplex.cpp
andtests/playsaw.cpp
andtests/record.cpp
, but they were commented out, so wouldn't get caught by tests. Other tests usesigned int
instead which may be OK, but I'd suggest to have all the types be explicit using fixed-width integers fromstdint.h
.The text was updated successfully, but these errors were encountered: