[xiph-commits] r14078 - trunk/theora/doc/spec
giles at svn.xiph.org
giles at svn.xiph.org
Wed Oct 31 14:24:44 PDT 2007
Author: giles
Date: 2007-10-31 14:24:44 -0700 (Wed, 31 Oct 2007)
New Revision: 14078
Modified:
trunk/theora/doc/spec/vp3huff.c
Log:
Cast away a warning.
Modified: trunk/theora/doc/spec/vp3huff.c
===================================================================
--- trunk/theora/doc/spec/vp3huff.c 2007-10-31 21:24:13 UTC (rev 14077)
+++ trunk/theora/doc/spec/vp3huff.c 2007-10-31 21:24:44 UTC (rev 14078)
@@ -866,7 +866,6 @@
printf("\\twocolumn\n");
for(i=0;i<80;i++){
th_huff_entry entries[32];
- int bpos;
int maxlen;
int mask;
int j;
@@ -893,7 +892,7 @@
int k;
printf("\\bin{");
for(k=maxlen;k-->entries[j].shift;){
- printf("%c",(entries[j].pattern>>k&1)+'0');
+ printf("%c",(int)(entries[j].pattern>>k&1)+'0');
}
printf("}");
for(;k>=0;k--)printf(" ");
More information about the commits
mailing list