1
0
Fork 0
forked from len0rd/rockbox

Explicitly declare char types to be signed when they must be

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8263 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Bryant 2005-12-19 03:12:20 +00:00
parent 0dc63c1b71
commit 278f2b3d5a
5 changed files with 9 additions and 9 deletions

View file

@ -96,7 +96,7 @@ static void write_decorr_weights (WavpackStream *wps, WavpackMetadata *wpmd)
{
int tcount = wps->num_terms;
struct decorr_pass *dpp;
char *byteptr;
signed char *byteptr;
byteptr = wpmd->data = wpmd->temp_data;
wpmd->id = ID_DECORR_WEIGHTS;
@ -108,7 +108,7 @@ static void write_decorr_weights (WavpackStream *wps, WavpackMetadata *wpmd)
dpp->weight_B = restore_weight (*byteptr++ = store_weight (dpp->weight_B));
}
wpmd->byte_length = byteptr - (char *) wpmd->data;
wpmd->byte_length = byteptr - (signed char *) wpmd->data;
}
// Allocate room for and copy the decorrelation samples from the decorr_passes