CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/09/30 00:09:41
Modified files:
libbase : noseek_fd_adapter.cpp
Log message:
fixed typecasting.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.cpp?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: noseek_fd_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- noseek_fd_adapter.cpp 29 Sep 2006 22:20:46 -0000 1.1
+++ noseek_fd_adapter.cpp 30 Sep 2006 00:09:41 -0000 1.2
@@ -169,8 +169,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);
}
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit