From: Jeff S. <xqu...@us...> - 2006-05-16 00:12:44
|
Update of /cvsroot/wterm/wterm/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26684/src Modified Files: command.c scrollbar2.c Log Message: Changed types or added casts to resolve warnings in GCC 4.0.3. Index: scrollbar2.c =================================================================== RCS file: /cvsroot/wterm/wterm/src/scrollbar2.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** scrollbar2.c 15 Nov 2005 05:47:31 -0000 1.1.1.1 --- scrollbar2.c 16 May 2006 00:12:40 -0000 1.2 *************** *** 232,236 **** stipple = XCreateBitmapFromData(Xdisplay, scrollBar.win, ! stp_bits, stp_width, stp_height); gcvalue.foreground = dark; --- 232,236 ---- stipple = XCreateBitmapFromData(Xdisplay, scrollBar.win, ! (char*)stp_bits, stp_width, stp_height); gcvalue.foreground = dark; Index: command.c =================================================================== RCS file: /cvsroot/wterm/wterm/src/command.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** command.c 6 May 2006 08:15:32 -0000 1.3 --- command.c 16 May 2006 00:12:40 -0000 1.4 *************** *** 1367,1375 **** Status status_return; ! len = XmbLookupString(Input_Context, &ev->xkey, kbuf, sizeof(kbuf), &keysym, &status_return); } else { ! len = XLookupString(&ev->xkey, kbuf, sizeof(kbuf), &keysym, &compose); --- 1367,1375 ---- Status status_return; ! len = XmbLookupString(Input_Context, &ev->xkey, (char *) kbuf, sizeof(kbuf), &keysym, &status_return); } else { ! len = XLookupString(&ev->xkey, (char *) kbuf, sizeof(kbuf), &keysym, &compose); *************** *** 2261,2265 **** Window parent; Window *list; ! int n; Atom *props; /* --- 2261,2265 ---- Window parent; Window *list; ! unsigned int n; Atom *props; /* *************** *** 2304,2308 **** Window parent; Window *list; ! int n; Atom *props; /* --- 2304,2308 ---- Window parent; Window *list; ! unsigned int n; Atom *props; /* *************** *** 2700,2704 **** vsprintf((char *) buf, (char *) fmt, arg_ptr); va_end(arg_ptr); ! tt_write(buf, strlen(buf)); } --- 2700,2704 ---- vsprintf((char *) buf, (char *) fmt, arg_ptr); va_end(arg_ptr); ! tt_write(buf, strlen((char *)buf)); } |