Snippets for live555 2026.06.24 from Alpine loongarch64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-loongarch64/community/live-media/live-media-2026.06.24-r0.log.
-
MPEG1or2VideoStreamFramer.cpp:463:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 463 | << (void*)next4Bytes << "\n"; | ^~~~~~~~~~~~~~~~~ -
MPEG4VideoStreamFramer.cpp:655:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 655 | << (void*)next4Bytes << "\n"; | ^~~~~~~~~~~~~~~~~ -
MPEG2TransportStreamFramer.cpp:233:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 233 | PIDStatus* pidStatus = (PIDStatus*)(fPIDStatusTable->Lookup((char*)pid)); | ^~~~~~~~~~ -
MPEG2TransportStreamFramer.cpp:238:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 238 | fPIDStatusTable->Add((char*)pid, pidStatus); | ^~~~~~~~~~ -
MPEG1or2VideoRTPSink.cpp:124:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 124 | << (void*)startCode << ", but we're not a fragment\n"; | ^~~~~~~~~~~~~~~~ -
VorbisAudioRTPSink.cpp:257:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 257 | if (identificationHeader != NULL) memmove(p, identificationHeader, identificationHeaderSize); p += identificationHeaderSize; | ^~ -
VorbisAudioRTPSink.cpp:258:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 258 | if (commentHeader != NULL) memmove(p, commentHeader, commentHeaderSize); p += commentHeaderSize; | ^~ -
RTCP.cpp:568:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 568 | if (length < 4) break; length -= 4; | ^~ -
RTCP.cpp:586:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 586 | if (length < 20) break; length -= 20; | ^~ -
GenericMediaServer.cpp:274:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 274 | } while (fOurServer.fClientConnections->Lookup((char const*)fConnectionId) != NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:275:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 275 | fOurServer.fClientConnections->Add((char const*)fConnectionId, this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:294:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 294 | fOurServer.fClientConnections->Remove((char const*)fConnectionId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:343:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 343 | return (class ClientConnection*)(fClientConnections->Lookup((char const*)connectionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:260:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 260 | = (streamingOverTCPRecord*)fTCPStreamingDatabase->Lookup((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:263:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 263 | fTCPStreamingDatabase->Add((char const*)socketNum, sotcpNew); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:270:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 270 | = (streamingOverTCPRecord*)fTCPStreamingDatabase->Lookup((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:291:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 291 | fTCPStreamingDatabase->Remove((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:294:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 294 | fTCPStreamingDatabase->Add((char const*)socketNum, sotcpHead); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:307:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 307 | = (streamingOverTCPRecord*)fTCPStreamingDatabase->Lookup((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:321:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 321 | fTCPStreamingDatabase->Remove((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:236:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 236 | fDestinationsHashTable->Add((char const*)clientSessionId, destinations); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:249:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 249 | = (Destinations*)(fDestinationsHashTable->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:373:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 373 | = (Destinations*)(fDestinationsHashTable->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:375:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 375 | fDestinationsHashTable->Remove((char const*)clientSessionId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:185:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | fClientRTCPSourceRecords->Add((char const*)clientSessionId, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:212:85: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 212 | RTCPSourceRecord* source = (RTCPSourceRecord*)(fClientRTCPSourceRecords->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:239:83: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 239 | RTCPSourceRecord* source = (RTCPSourceRecord*)(fClientRTCPSourceRecords->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:245:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 245 | fClientRTCPSourceRecords->Remove((char const*)clientSessionId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MediaSession.cpp:803:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 803 | Groupsock* existing = (Groupsock*)socketHashTable->Add((char const*)key, fRTPSocket); | ^~~~~~~~~~~~~~~~ -
MediaSession.cpp:825:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 825 | Groupsock* existing = (Groupsock*)socketHashTable->Add((char const*)key, fRTPSocket); | ^~~~~~~~~~~~~~~~ -
MediaSession.cpp:1153:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1153 | if (strncmp(sdpLine, "a=fmtp:", 7) != 0) break; sdpLine += 7; | ^~ -
MPEG2TransportFileServerMediaSubsession.cpp:185:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 185 | fClientSessionHashTable->Add((char const*)clientSessionId, client); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MPEG2TransportFileServerMediaSubsession.cpp:219:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 219 | return (ClientTrickPlayState*)(fClientSessionHashTable->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:685:15: warning: array subscript -3 is below array bounds of 'unsigned char [20000]' [-Warray-bounds=] 685 | fLastCRLF = &fRequestBuffer[-3]; // hack: Ensures that we don't think we have end-of-msg if the data starts with <CR><LF> | ^~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:815:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 815 | if (newTrack != NULL && newTrack->trackNumber != 0) fTable->Remove((char const*)newTrack->trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:816:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 816 | MatroskaTrack* existingTrack = (MatroskaTrack*)fTable->Add((char const*)trackNumber, newTrack); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:821:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 821 | return (MatroskaTrack*)fTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:909:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 909 | fDemuxedTracksTable->Add((char const*)trackNumber, trackSource); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:914:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 914 | return (MatroskaDemuxedTrack*)fDemuxedTracksTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:920:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 920 | fDemuxedTracksTable->Remove((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MPEG2TransportStreamParser_STREAM.cpp:251:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 251 | if (curOffset() - startPos > 9 + PES_header_data_length) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
SRTPCryptographicContext.cpp:517:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 517 | = numDataBytes < numBytesEncrypted ? numDataBytes : numBytesEncrypted; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
SRTPCryptographicContext.cpp:589:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 589 | = numBytesRemaining < numBytesEncrypted ? numBytesRemaining : numBytesEncrypted; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
MIKEY.cpp:161:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 161 | if (numCryptoSessions == 0 || dataSize < 10 + numCryptoSessions*(1+4+4)) break; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Locale.cpp:33:22: warning: 'categoryMask' may be used uninitialized [-Wmaybe-uninitialized] 33 | fLocale = newlocale(categoryMask, newLocale, NULL); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:216:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 216 | = (OggTrack*)fTable->Add((char const*)newTrack->trackNumber, newTrack); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:221:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | return (OggTrack*)fTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:273:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 273 | fDemuxedTracksTable->Add((char const*)resultTrackNumber, trackSource); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:281:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 281 | fDemuxedTracksTable->Add((char const*)trackNumber, trackSource); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:286:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 286 | return (OggDemuxedTrack*)fDemuxedTracksTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:312:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 312 | fDemuxedTracksTable->Remove((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFileParser.cpp:347:16: warning: variable 'codewordLength' set but not used [-Wunused-but-set-variable] 347 | unsigned codewordLength; | ^~~~~~~~~~~~~~ -
NetAddress.cpp:160:67: warning: comparison between two arrays is deprecated in C++20 [-Warray-compare] 160 | return ((struct sockaddr_in6 const&)left).sin6_addr.s6_addr == ((struct sockaddr_in6 const&)right).sin6_addr.s6_addr; | ^