tags 375715 +patch
thanks

Hello, 


with the attached patch 'mp3val' can be compiled on amd64.


Regards
Andreas Jochens


diff -urN ../tmp-orig/mp3val-0.1.4/crossapi.cpp ./crossapi.cpp
--- ../tmp-orig/mp3val-0.1.4/crossapi.cpp       2006-04-06 11:26:16.000000000 
+0000
+++ ./crossapi.cpp      2006-07-24 12:07:35.000000000 +0000
@@ -185,7 +185,7 @@
 
 int CrossAPI_GetFullPathName(char *szFileName,char *pcBuffer,int iBufSize) {
        if(iBufSize<CROSSAPI_MAX_PATH) return 0;
-       return (int)realpath(szFileName,pcBuffer);
+       return realpath(szFileName,pcBuffer) != 0;
 }
 
 int CrossAPI_GetTempFileAndName(int iBufSize,char *pcBuffer) {


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to