[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash libbase/triangulate_impl.h plugin/plugin....
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash libbase/triangulate_impl.h plugin/plugin.... |
Date: |
Thu, 20 Apr 2006 18:09:51 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch:
Changes by: Rob Savoye <address@hidden> 06/04/20 18:09:51
Modified files:
libbase : triangulate_impl.h
plugin : plugin.cpp
. : ChangeLog
Log message:
* libbase/triangulate_impl.h: Use the z modifier when printing a
size_t.
* plugin/plugin.cpp: Define start and end as a size_t, not an
unsigned int.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/libbase/triangulate_impl.h.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/plugin/plugin.cpp.diff?tr1=1.26&tr2=1.27&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.214&tr2=1.215&r1=text&r2=text
Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.214 gnash/ChangeLog:1.215
--- gnash/ChangeLog:1.214 Thu Apr 20 17:21:40 2006
+++ gnash/ChangeLog Thu Apr 20 18:09:51 2006
@@ -1,5 +1,10 @@
2006-04-20 Rob Savoye <address@hidden>
+ * libbase/triangulate_impl.h: Use the z modifier when printing a
+ size_t.
+ * plugin/plugin.cpp: Define start and end as a size_t, not an
+ unsigned int.
+
* configure.ac: Add FLTK. Don't create mozilla-sdk/Makefile.
* Makefile.am: Add a dumpconfig target to see what configure
found.
Index: gnash/libbase/triangulate_impl.h
diff -u gnash/libbase/triangulate_impl.h:1.8
gnash/libbase/triangulate_impl.h:1.9
--- gnash/libbase/triangulate_impl.h:1.8 Thu Mar 30 19:12:53 2006
+++ gnash/libbase/triangulate_impl.h Thu Apr 20 18:09:51 2006
@@ -1870,7 +1870,7 @@
{
// Bad input, odd number of coords.
assert(0);
- fprintf(stderr, "path[%d] has odd number of coords
(%d), dropping last value\n", i, path.size());//xxxx
+ fprintf(stderr, "path[%d] has odd number of coords
(%zd), dropping last value\n", i, path.size());//xxxx
path_size--;
}
for (int j = 0; j < path_size; j += 2) // vertex coords come
in pairs.
Index: gnash/plugin/plugin.cpp
diff -u gnash/plugin/plugin.cpp:1.26 gnash/plugin/plugin.cpp:1.27
--- gnash/plugin/plugin.cpp:1.26 Mon Apr 10 20:21:39 2006
+++ gnash/plugin/plugin.cpp Thu Apr 20 18:09:51 2006
@@ -651,7 +651,7 @@
memset(tmp, 0, 300);
string url = stream->url;
string fname, opts;
- unsigned int start, end, eq;
+ size_t start, end, eq;
bool dumpopts = false;
log_msg("%s: this = %p, URL is %s", __FUNCTION__,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash libbase/triangulate_impl.h plugin/plugin....,
Rob Savoye <=