gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog libamf/rtmp.cpp libbase/network...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog libamf/rtmp.cpp libbase/network...
Date: Sun, 13 Aug 2006 13:11:44 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/08/13 13:11:44

Modified files:
        .              : ChangeLog 
        libamf         : rtmp.cpp 
        libbase        : network.cpp 
        server         : fontlib.cpp 

Log message:
                * libamf/rtmp.cpp, libbase/network.cpp, libbase/network.h,
                  server/fontlib.cpp: removed compiler warnings.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.631&r2=1.632
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/rtmp.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/network.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.631
retrieving revision 1.632
diff -u -b -r1.631 -r1.632
--- ChangeLog   13 Aug 2006 12:59:32 -0000      1.631
+++ ChangeLog   13 Aug 2006 13:11:44 -0000      1.632
@@ -1,3 +1,8 @@
+2006-08-13 Sandro Santilli  <address@hidden>
+
+       * libamf/rtmp.cpp, libbase/network.cpp, libbase/network.h,
+         server/fontlib.cpp: removed compiler warnings.
+
 2006-08-13 Patrice Dumas <address@hidden>
 
        * macros/pango.m4: fixed pango version detection.

Index: libamf/rtmp.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/rtmp.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libamf/rtmp.cpp     12 Aug 2006 15:11:53 -0000      1.4
+++ libamf/rtmp.cpp     13 Aug 2006 13:11:44 -0000      1.5
@@ -249,12 +249,12 @@
     int ret;
     char buffer[AMF_VIDEO_PACKET_SIZE+1];
     memset(buffer, 0, AMF_VIDEO_PACKET_SIZE+1);
-    unsigned char hexint[1024];
+    //unsigned char hexint[1024];
     int packetsize = 0;
     char *tmpptr;
-    char *amfdata;
-    int amf_index, headersize;
-    AMF *amf;
+    //char *amfdata;
+    unsigned int amf_index, headersize;
+    AMF *amf=NULL;
     
     tmpptr = buffer;
     

Index: libbase/network.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/network.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libbase/network.cpp 12 Aug 2006 15:11:53 -0000      1.4
+++ libbase/network.cpp 13 Aug 2006 13:11:44 -0000      1.5
@@ -642,7 +642,7 @@
 int
 Network::writeNet(const unsigned char *buffer, int nbytes)
 {
-    return writeNet(_sockfd, (char *)buffer, nbytes, _timeout);
+    return writeNet(_sockfd, (const char*)buffer, nbytes, _timeout);
 }
 
 int

Index: server/fontlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/fontlib.cpp  6 Aug 2006 02:00:54 -0000       1.13
+++ server/fontlib.cpp  13 Aug 2006 13:11:44 -0000      1.14
@@ -512,9 +512,11 @@
                        software_trapezoid(y0, y1, lx0, lx1, rx0, rx1);
                }
 
-               virtual void    accept_line_strip(int style, const point 
coords[], int coord_count)
+               virtual void    accept_line_strip(int /*style*/,
+                               const point* /*coords*/, int /*coord_count*/)
                {
-                       assert(0);      // Shape glyphs should not contain 
lines.
+                       // Shape glyphs should not contain lines.
+                       assert(0);
                }
        };
 




reply via email to

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