Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88880 Details for
Bug 136358
xmms-nsf does not compile with gcc-4.1.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix xmms-nsf compile with gcc-4.1.1
xmms-nsf-gcc-4.1.1.patch (text/plain), 576 bytes, created by
Miguel Marte
on 2006-06-10 22:12:00 UTC
(
hide
)
Description:
Patch to fix xmms-nsf compile with gcc-4.1.1
Filename:
MIME Type:
Creator:
Miguel Marte
Created:
2006-06-10 22:12:00 UTC
Size:
576 bytes
patch
obsolete
>--- nsf.c 2006-06-11 01:07:15.000000000 -0400 >+++ /home/mahoro/Desktop/nsf.c 2006-06-11 01:00:28.000000000 -0400 >@@ -462,7 +462,7 @@ > } > if (bytes > 0){ > //read 1024byte = 512 sample * 2byte >- c = NESAudioRender(data, bytes/2); >+ c = NESAudioRender((Int16*)data, bytes/2); > if (c < 512) > count = 0; > else >@@ -529,7 +529,7 @@ > count = ftell(nsf_file->file); > fseek(nsf_file->file, 0, SEEK_SET); > >- (void*)buffer = g_malloc0(count); >+ buffer = (void*)g_malloc0(count); > for(i=0;i<count;i++){ > *(buffer+i) = fgetc(nsf_file->file); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 136358
:
88880
|
88881
|
88882