Skip to contentSkip to conversation

: alsa-lib-1.0.10 gcc296 compilation error

PATCH In review Andrew V. Samoilov 2 participants 2 messages Dec 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : alsa-lib-1.0.10 gcc296 compilation error

Hello!

Signature · 6 lines
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
src/pcm/pcm_file.c renamed from src/pcm/pcm_file.c.bak +1 -1
@@ -188,7 +188,7 @@ static snd_pcm_sframes_t snd_pcm_file_fo
 	err = INTERNAL(snd_pcm_forward)(file->gen.slave, frames);
 	if (err > 0) {
 		file->appl_ptr = (file->appl_ptr + err) % file->wbuf_size;
-		snd_pcm_uframes_t n = snd_pcm_frames_to_bytes(pcm, err);
+		n = snd_pcm_frames_to_bytes(pcm, err);
 		file->wbuf_used_bytes += n;
 	}
 	return err;
#1 lore raw

At Mon, 12 Dec 2005 15:08:36 +0200 (EET),

Quoted 14 lines · Andrew V. Samoilov

Hello!

Signature · 7 lines
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
[2 pcm_file.c.gcc296.patch <text/plain (base64)>]

src/pcm/pcm_file.c static snd_pcm_sframes_t snd_pcm_file_fo · line 194

Quoted 8 lines
src/pcm/pcm_file.c renamed from src/pcm/pcm_file.c.bak +1 -1
@@ -188,7 +188,7 @@ static snd_pcm_sframes_t snd_pcm_file_fo
 	err = INTERNAL(snd_pcm_forward)(file->gen.slave, frames);
 	if (err > 0) {
 		file->appl_ptr = (file->appl_ptr + err) % file->wbuf_size;
-		snd_pcm_uframes_t n = snd_pcm_frames_to_bytes(pcm, err);
+		n = snd_pcm_frames_to_bytes(pcm, err);
 		file->wbuf_used_bytes += n;
 	}
 	return err;

It's already fixed on CVS.

Thanks, anyway.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click