}
/** Decodifica chunksize symbolos y los devuelve en un chunk de datos */
-int shuff_decode_chunk(HUFF_STATE *shuff, char *chunk, int chunksize, int *decodedbytes)
+int shuff_decode_chunk(HUFF_STATE *shuff, char *chunk, int chunksize, unsigned long int *decodedbytes)
{
SHUFFNODE *currnode = shuff->codetree;
unsigned short int decoded_symbol;