projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4320e7
)
alsa_writer.c: Fix gcc-4 signedness warning
author
Andre
<maan@p133.(none)>
Mon, 24 Apr 2006 14:13:44 +0000
(16:13 +0200)
committer
Andre
<maan@p133.(none)>
Mon, 24 Apr 2006 14:13:44 +0000
(16:13 +0200)
alsa_writer.c
patch
|
blob
|
history
diff --git
a/alsa_writer.c
b/alsa_writer.c
index
53cf7e3
..
039c981
100644
(file)
--- a/
alsa_writer.c
+++ b/
alsa_writer.c
@@
-140,7
+140,7
@@
static int alsa_write(char *data, size_t nbytes, struct writer_node *wn)
{
struct private_alsa_data *pad = wn->private_data;
size_t frames = nbytes / pad->bytes_per_frame;
- unsigned char *d = data;
+ unsigned char *d =
(unsigned char*)
data;
snd_pcm_sframes_t r, result = 0;
while (frames > 0) {