gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog libbase/curl_adapter.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog libbase/curl_adapter.cpp
Date: Fri, 29 Sep 2006 16:59:47 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/09/29 16:59:47

Modified files:
        .              : ChangeLog 
        libbase        : curl_adapter.cpp 

Log message:
        %u->%lu.  Add static_typecast.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.972&r2=1.973
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/curl_adapter.cpp?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.972
retrieving revision 1.973
diff -u -b -r1.972 -r1.973
--- ChangeLog   29 Sep 2006 14:09:31 -0000      1.972
+++ ChangeLog   29 Sep 2006 16:59:46 -0000      1.973
@@ -3,6 +3,7 @@
        * configure.ac, libbase/container.h: fixed HAVE_STRCASECMP collision.
        * libbase/container.h: Fixed non-void function not returning warning.
        * server/xml.cpp: Fixed unused bool's ret = true;
+       * libbase/curl_adapter.cpp: %u->%lu.  Add static_typecast.
 
 2006-09-29 Sandro Santilli  <address@hidden>
 

Index: libbase/curl_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/curl_adapter.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- libbase/curl_adapter.cpp    28 Sep 2006 15:30:00 -0000      1.14
+++ libbase/curl_adapter.cpp    29 Sep 2006 16:59:47 -0000      1.15
@@ -34,6 +34,8 @@
 // forward this exception.
 // 
 
+/* $Id: curl_adapter.cpp,v 1.15 2006/09/29 16:59:47 nihilus Exp $ */
+
 #if defined(_WIN32) || defined(WIN32)
 #define snprintf _snprintf
 #endif
@@ -205,8 +207,8 @@
                char errmsg[256];
        
                snprintf(errmsg, 255,
-                       "writing to cache file: requested %u, wrote %u (%s)",
-                       sz, wrote, strerror(errno));
+                       "writing to cache file: requested %lu, wrote %lu (%s)",
+                       static_cast<unsigned long>(sz), static_cast<unsigned 
long>(wrote), strerror(errno));
                fprintf(stderr, "%s\n", errmsg);
                throw gnash::GnashException(errmsg);
        }




reply via email to

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