gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash libnet/rtmp.cpp ChangeLog


From: Markus Gothe
Subject: [Gnash-commit] gnash libnet/rtmp.cpp ChangeLog
Date: Wed, 18 Jun 2008 22:10:54 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  08/06/18 22:10:54

Modified files:
        libnet         : rtmp.cpp 
        .              : ChangeLog 

Log message:
        Fixed warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libnet/rtmp.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6974&r2=1.6975

Patches:
Index: libnet/rtmp.cpp
===================================================================
RCS file: /sources/gnash/gnash/libnet/rtmp.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- libnet/rtmp.cpp     18 Jun 2008 21:56:20 -0000      1.14
+++ libnet/rtmp.cpp     18 Jun 2008 22:10:53 -0000      1.15
@@ -803,15 +803,16 @@
     Network::byte_t header = 0xc3;
 
     while (nbytes <= buf->size()) {
-       if ((buf->size() - nbytes) < RTMP_VIDEO_PACKET_SIZE) {
+       if ((buf->size() - nbytes) < static_cast<signed 
int>(RTMP_VIDEO_PACKET_SIZE)) {
            partial = buf->size() - nbytes;
        }    
        writeNet(buf->reference() + nbytes, partial);
-       if (partial == RTMP_VIDEO_PACKET_SIZE) {
+       if (partial == static_cast<signed int>(RTMP_VIDEO_PACKET_SIZE)) {
            writeNet(&header, 1);
        }
        nbytes += RTMP_VIDEO_PACKET_SIZE;       
     };
+    return true;
 }
     
 // Send a Msg, and expect a response back of some kind.

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6974
retrieving revision 1.6975
diff -u -b -r1.6974 -r1.6975
--- ChangeLog   18 Jun 2008 21:55:56 -0000      1.6974
+++ ChangeLog   18 Jun 2008 22:10:53 -0000      1.6975
@@ -1,3 +1,7 @@
+2008-06-19 Markus Gothe <address@hidden>
+
+       * libnet/rtmp.cpp: Fixed warnings.
+
 2008-06-18 Sandro Santilli <address@hidden>
 
        * testsuite/actionscript.all/Inheritance.as: drop useless duplicated




reply via email to

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