[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/triangulate_impl.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/triangulate_impl.h |
Date: |
Fri, 29 Sep 2006 09:37:30 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/09/29 09:37:30
Modified files:
. : ChangeLog
libbase : triangulate_impl.h
Log message:
* libbase/triangulate_impl.h: static_cast size_t types to unsigned long
when using printf family of functions.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.960&r2=1.961
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/triangulate_impl.h?cvsroot=gnash&r1=1.15&r2=1.16
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.960
retrieving revision 1.961
diff -u -b -r1.960 -r1.961
--- ChangeLog 29 Sep 2006 04:19:33 -0000 1.960
+++ ChangeLog 29 Sep 2006 09:37:30 -0000 1.961
@@ -1,3 +1,8 @@
+2006-09-29 Sandro Santilli <address@hidden>
+
+ * libbase/triangulate_impl.h: static_cast size_t types to
+ unsigned long when using printf family of functions.
+
2006-09-29 Markus Gothe <address@hidden>
* gui/Player.h, server/action.h, server/as_value.h, server/asobj/Key.h,
Index: libbase/triangulate_impl.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/triangulate_impl.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- libbase/triangulate_impl.h 29 Sep 2006 00:57:30 -0000 1.15
+++ libbase/triangulate_impl.h 29 Sep 2006 09:37:30 -0000 1.16
@@ -1872,7 +1872,7 @@
{
// Bad input, odd number of coords.
assert(0);
- fprintf(stderr, "path[%d] has odd number of coords
(%lu), dropping last value\n", i, path.size());//xxxx
+ fprintf(stderr, "path[%d] has odd number of coords
(%lu), dropping last value\n", i, static_cast<unsigned
long>(path.size()));//xxxx
path_size--;
}
for (int j = 0; j < path_size; j += 2) // vertex coords come
in pairs.