gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Problem compiling on amd64


From: annonygmouse
Subject: Re: [Gnash-dev] Problem compiling on amd64
Date: Wed, 02 Aug 2006 00:56:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ca-AD; rv:1.7.13) Gecko/20060621 Debian/1.7.13-0.2

annonygmouse wrote:



Sorry, I made the patch after changing again the source to get
the error and show write it in the last email.

Here's the correct patch.

SebastiĆ 

? .libs
? amf.lo
? amf_cast_to_int_does_not_work_amd64.patch
? libgnashamf.la
? rtmp.lo
Index: amf.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/amf.cpp,v
retrieving revision 1.5
diff -u -r1.5 amf.cpp
--- amf.cpp     1 Aug 2006 20:09:00 -0000       1.5
+++ amf.cpp     1 Aug 2006 22:55:03 -0000
@@ -436,7 +436,7 @@
           log_msg("Reference unimplemented");
           break;
       case ECMAArray:
-          return (int)x - (int)strchr(x, TERMINATOR);
+          return (long int)x - (long int)strchr(x, TERMINATOR);
           break;
       case ObjectEnd:
           return -1;
@@ -464,7 +464,7 @@
           return (int)*(int *)x;
           break;
       case TypedObject:
-          return (int)x - (int)strchr(x, TERMINATOR);
+          return (long int)x - (long int)strchr(x, TERMINATOR);
           break;
     };
     

reply via email to

[Prev in Thread] Current Thread [Next in Thread]