mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
fusee: Add missing const qualifiers (thanks @aveao)
This commit is contained in:
parent
f864b0835d
commit
99d36c423e
1 changed files with 3 additions and 3 deletions
|
@ -99,8 +99,8 @@
|
||||||
* _LZ_StringCompare() - Return maximum length string match.
|
* _LZ_StringCompare() - Return maximum length string match.
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
static unsigned int _LZ_StringCompare( unsigned char * str1,
|
static unsigned int _LZ_StringCompare( const unsigned char * str1,
|
||||||
unsigned char * str2, unsigned int minlen, unsigned int maxlen )
|
const unsigned char * str2, unsigned int minlen, unsigned int maxlen )
|
||||||
{
|
{
|
||||||
unsigned int len;
|
unsigned int len;
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ int LZ_Compress( const unsigned char *in, unsigned char *out, unsigned int insiz
|
||||||
unsigned int maxoffset, offset, bestoffset;
|
unsigned int maxoffset, offset, bestoffset;
|
||||||
unsigned int maxlength, length, bestlength;
|
unsigned int maxlength, length, bestlength;
|
||||||
unsigned int histogram[ 256 ];
|
unsigned int histogram[ 256 ];
|
||||||
unsigned char *ptr1, *ptr2;
|
const unsigned char *ptr1, *ptr2;
|
||||||
|
|
||||||
/* Do we have anything to compress? */
|
/* Do we have anything to compress? */
|
||||||
if( insize < 1 )
|
if( insize < 1 )
|
||||||
|
|
Loading…
Reference in a new issue