Update of /cvsroot/xine/gnome-xine/browser-plugin
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv9266/browser-plugin

Modified Files:
        npapi.h plugin.c 
Log Message:
Resync for release.


Index: plugin.c
===================================================================
RCS file: /cvsroot/xine/gnome-xine/browser-plugin/plugin.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- plugin.c    6 Jul 2006 18:06:27 -0000       1.34
+++ plugin.c    16 Dec 2006 23:42:19 -0000      1.35
@@ -62,6 +62,10 @@
 #define LOG
 */
 
+#ifdef LOG
+#include <stdarg.h>
+#endif
+
 /* FIXME: browser exit on URL box destroy, segfault on 'close' click
 #define URLBOX
 */
@@ -111,8 +115,9 @@
 } plugin_instance_t;
 
 
-static void xprintf (const char *format, ...) {
-
+static void __attribute__ ((format (printf, 1, 2)))
+xprintf (const char *format, ...)
+{
 #ifdef LOG
   static FILE *log_fd=NULL;
 
@@ -496,8 +501,8 @@
   this->top_level = XtWindowToWidget (this->display, this->window);
   this->screen    = XtScreen (this->top_level);
 
-  xprintf("x=%lu, y=%lu, w=%lu, h=%lu\n", window->x, window->y, window->width, 
window->height);
-  xprintf("window = %lu NPERR_NO_ERROR\n", this->window);
+  xprintf("x=%u, y=%u, w=%u, h=%u\n", window->x, window->y, window->width, 
window->height);
+  xprintf("window = %u NPERR_NO_ERROR\n", this->window);
 
   this->black = BlackPixelOfScreen (this->screen);
   this->white = WhitePixelOfScreen (this->screen);


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to