X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/32fa770ca3275ebba14ffbf957566b1d24c3e453..6275c5b9e211275c0ce1c8474ea68c349fd5f64c:/src/statichuff/statichuff.c diff --git a/src/statichuff/statichuff.c b/src/statichuff/statichuff.c index 000f0ba..0632e36 100644 --- a/src/statichuff/statichuff.c +++ b/src/statichuff/statichuff.c @@ -70,7 +70,7 @@ int shuff_scanfreq_chunk(HUFF_STATE *chunkshuff, char* chunk, int chunksize) int i = 0; unsigned char symbol = 0; - /* Contamos las frecuencias del chunk a menos que se use un canonico */ + /* Contamos las frecuencias del chunk a menos que se use un canonico */ if (!chunkshuff->canonic) { for (i = 0; i < chunksize; ++i) { symbol = chunk[i]; @@ -189,7 +189,7 @@ void shuff_printcodes(SHUFFCODE *codetable,t_freq *freqtable) for (i = 0; i < 256; ++i) { if (codetable[i].codelength > 0) { auxcode = codetable[i].code; - printf("Symbol:%i Freq: %li Code:",i,freqtable[i]); + printf("Symbol:%i Freq: %lu Code:",i,freqtable[i]); for (j = codetable[i].codelength-1; j >= 0; --j) { auxcode = codetable[i].code; auxcode = auxcode >> j;