Fix a warning due to the code assuming sizeof(int) == sizeof(void *) which
is not true on the alpha. I think that other parts of this code also make this implicit assumption as well.
This commit is contained in:
parent
b2490f915f
commit
2c823989e1
@ -446,7 +446,7 @@ static int
|
||||
feed_sign(struct pcm_feeder *f, struct pcm_channel *c, u_int8_t *b, u_int32_t count, void *source)
|
||||
{
|
||||
int i = 0, j = FEEDER_FEED(f->source, c, b, count, source);
|
||||
int ssz = (int)f->data, ofs = ssz - 1;
|
||||
intptr_t ssz = (intptr_t)f->data, ofs = ssz - 1;
|
||||
|
||||
while (i < j) {
|
||||
b[i + ofs] ^= 0x80;
|
||||
|
Loading…
Reference in New Issue
Block a user