summaryrefslogtreecommitdiff
path: root/src/compression/dict.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-21 07:31:05 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-21 07:31:05 (GMT)
commitbeaa92cb293a4147aef8ed03027500804535ed96 (patch)
treec8427746983418476a99b5c61847e0b4eeca5f1d /src/compression/dict.c
parent885f2782f9f48b69bc229612b0734b4de48b890b (diff)
Fixed compiler warnings and linking errors in MSVC.
Changed tabs to spaces in tng_compression functions.
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