aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-15 11:47:58 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-15 11:47:58 +0000
commit1be1e72fd8277d8631581c981b16dfd00f5c7e8b (patch)
tree0cce54344b76d5e275aa665ee87606e00ee65e61
parent0fc3927d33ec541577cc93f7e277135d97a47a38 (diff)
Notes
-rw-r--r--sys/i386/isa/snd/sound.c2
-rw-r--r--sys/i386/isa/sound/audio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c
index 2e86e201970cf..dc08ca8d355b3 100644
--- a/sys/i386/isa/snd/sound.c
+++ b/sys/i386/isa/snd/sound.c
@@ -1385,7 +1385,7 @@ translate_bytes (const void *table, void *buff, int n)
" xlatb\n"
" stosb\n"
" loop 1b\n":
- : "b" ((long) table), "c" (n), "D" ((long) buff), "S" ((long) buff)
+ : "b" (table), "c" (n), "D" (buff), "S" (buff)
: "bx", "cx", "di", "si", "ax");
}
}
diff --git a/sys/i386/isa/sound/audio.c b/sys/i386/isa/sound/audio.c
index b7d25a4dfeb9e..31f952ea10fa9 100644
--- a/sys/i386/isa/sound/audio.c
+++ b/sys/i386/isa/sound/audio.c
@@ -171,7 +171,7 @@ translate_bytes(const void *table, void *buff, int n)
"xlatb\n\t"
"stosb\n\t"
"loop 1b\n\t":
- :"b"((long) table), "c"(n), "D"((long) buff), "S"((long) buff)
+ :"b"(table), "c"(n), "D"(buff), "S"(buff)
:"bx", "cx", "di", "si", "ax");
}
}