aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-11 15:31:01 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-11 15:31:01 +0000
commit2c823989e18563a8531d207ae16507c34bc2c64c (patch)
tree4f0040dc10248bf49fc846bcc50679b4c5e65ff4
parentb2490f915f53cdeead62da00f063f9a7853a23e7 (diff)
Notes
-rw-r--r--sys/dev/sound/pcm/feeder_fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/feeder_fmt.c b/sys/dev/sound/pcm/feeder_fmt.c
index 6c8c92af98e9..059d5b7fe587 100644
--- a/sys/dev/sound/pcm/feeder_fmt.c
+++ b/sys/dev/sound/pcm/feeder_fmt.c
@@ -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;