summaryrefslogtreecommitdiff
path: root/src/compression/dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compression/dict.c')
-rw-r--r--src/compression/dict.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compression/dict.c b/src/compression/dict.c
index ea6cad9..4744949 100644
--- a/src/compression/dict.c
+++ b/src/compression/dict.c
@@ -23,8 +23,8 @@ void Ptngc_comp_canonical_dict(unsigned int *dict, int *ndict)
}
void Ptngc_comp_make_dict_hist(unsigned int *vals, int nvals,
- unsigned int *dict, int *ndict,
- unsigned int *hist)
+ unsigned int *dict, int *ndict,
+ unsigned int *hist)
{
int i;
int j=0;
@@ -37,9 +37,9 @@ void Ptngc_comp_make_dict_hist(unsigned int *vals, int nvals,
for (i=0; i<0x20004; i++)
if (hist[i]!=0)
{
- hist[j]=hist[i];
- dict[j]=dict[i];
- j++;
+ hist[j]=hist[i];
+ dict[j]=dict[i];
+ j++;
}
*ndict=j;
}
contact: Jan Huwald // Impressum