Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22889 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -409,7 +409,8 @@ think(void)
|
|||||||
static void
|
static void
|
||||||
move(XtPointer _p, XtIntervalId *_id)
|
move(XtPointer _p, XtIntervalId *_id)
|
||||||
{
|
{
|
||||||
static int length, dir;
|
static int dir;
|
||||||
|
static unsigned int length;
|
||||||
|
|
||||||
if (!length) {
|
if (!length) {
|
||||||
int tries = 0;
|
int tries = 0;
|
||||||
@@ -705,7 +706,7 @@ GetPasswd(Widget w, XEvent *_event, String *_s, Cardinal *_n)
|
|||||||
{
|
{
|
||||||
XKeyEvent *event = (XKeyEvent *)_event;
|
XKeyEvent *event = (XKeyEvent *)_event;
|
||||||
static char passwd[MAX_PASSWD_LENGTH];
|
static char passwd[MAX_PASSWD_LENGTH];
|
||||||
static int cnt;
|
static unsigned int cnt;
|
||||||
static int is_ctrl = XNLOCK_NOCTRL;
|
static int is_ctrl = XNLOCK_NOCTRL;
|
||||||
char c;
|
char c;
|
||||||
KeySym keysym;
|
KeySym keysym;
|
||||||
@@ -823,8 +824,9 @@ init_images(void)
|
|||||||
static void
|
static void
|
||||||
talk(int force_erase)
|
talk(int force_erase)
|
||||||
{
|
{
|
||||||
int width = 0, height, Z, total = 0;
|
unsigned int width = 0, height, Z, total = 0;
|
||||||
static int X, Y, talking;
|
static unsigned int X, Y;
|
||||||
|
static int talking;
|
||||||
static struct { int x, y, width, height; } s_rect;
|
static struct { int x, y, width, height; } s_rect;
|
||||||
char *p, *p2;
|
char *p, *p2;
|
||||||
char buf[BUFSIZ], args[MAXLINES][256];
|
char buf[BUFSIZ], args[MAXLINES][256];
|
||||||
|
Reference in New Issue
Block a user