diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-12-03 00:27:59 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-12-03 00:27:59 +0000 |
| commit | 745a9f8e880f8b9541bca2288e68b7f8d346d58d (patch) | |
| tree | 26d9f876a470d2f41d3a39403724cd2dc3ccfa02 /Multicast.c | |
| parent | dd84b546a055a33657f094c2ef6d36a321a545ff (diff) | |
| parent | 96c573931d40b6b191614c96299d66ca6217d1d8 (diff) | |
Update upstream source from tag 'upstream/6.0.24.53+repack'
Update to upstream version '6.0.24.53+repack'
with Debian dir 64961bc210cd2b4237f556f2eada2c03ed86fd0f
Diffstat (limited to 'Multicast.c')
| -rw-r--r-- | Multicast.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Multicast.c b/Multicast.c index 8283d3f..ba5dcb5 100644 --- a/Multicast.c +++ b/Multicast.c @@ -612,16 +612,16 @@ struct MSESSION * FindMSession(unsigned int Key) #define LZMA_STR "\1LZMA"
-UCHAR * LZUncompress(UCHAR * Decoded, int Len, int * NewLen)
+UCHAR * LZUncompress(UCHAR * Decoded, size_t Len, size_t * NewLen)
{
unsigned char * buf;
unsigned char inprops[LZMA_PROPS_SIZE];
size_t inlen;
int r;
- UINT rlen;
- UINT outlen;
-
+ size_t rlen = 0;
+ size_t outlen;
+
memcpy(&rlen, &Decoded[5], 4);
outlen = ntohl(rlen);
@@ -668,8 +668,8 @@ void SaveMulticastMessage(struct MSESSION * MSession) {
UCHAR * Decoded = NULL; // Output from Basexxx decode
UCHAR * Uncompressed = NULL;
- int DecodedLen; // Length of decoded message
- int UncompressedLen; // Length of decompressed message
+ size_t DecodedLen; // Length of decoded message
+ size_t UncompressedLen; // Length of decompressed message
int ExpectedLen; // From front of Base128 or Base256 message
int HddrLen; // Length of Expected Len Header
|
