mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-21 12:29:43 -10:00
The Win64 build's -Wshorten-64-to-32 narrowings are made explicit where the value is bounded: socket()/accept() handles kept as RetroArch's int descriptors, ai_addrlen passed as socklen_t, UDP and pipe lengths, COM/D3D counts and shader frame counters, WASAPI/XAudio2 buffer sizes. net_socket clamps each send/recv to Winsock's int count on _WIN32 and lets the existing loops move the rest; the remote-input descriptors are plain ints on every platform, as socket_init returns them. xaudio29.h declares its interfaces through a macro that, in C, leaves out DECLARE_INTERFACE's second typedef of the forward-declared names.