mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 13:52:21 +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.
|
||||
*************************************************************************/
|
||||
|
||||
static unsigned int _LZ_StringCompare( unsigned char * str1,
|
||||
unsigned char * str2, unsigned int minlen, unsigned int maxlen )
|
||||
static unsigned int _LZ_StringCompare( const unsigned char * str1,
|
||||
const unsigned char * str2, unsigned int minlen, unsigned int maxlen )
|
||||
{
|
||||
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 maxlength, length, bestlength;
|
||||
unsigned int histogram[ 256 ];
|
||||
unsigned char *ptr1, *ptr2;
|
||||
const unsigned char *ptr1, *ptr2;
|
||||
|
||||
/* Do we have anything to compress? */
|
||||
if( insize < 1 )
|
||||
|
|
Loading…
Reference in a new issue