summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgildea <empty>1991-01-02 13:20:41 +0000
committergildea <empty>1991-01-02 13:20:41 +0000
commit757807cf6046694fd8e81b3cf258832b0ad08aac (patch)
tree2d76f02ec5efbf3a1351ad504f22ecf68c0936ad
parentc524542aee227e1cdc91ece56929cd1888de71f7 (diff)
add cast for SVR4 compiler
-rw-r--r--xc/lib/Xdmcp/RA16.c4
-rw-r--r--xc/lib/Xdmcp/RA32.c4
-rw-r--r--xc/lib/Xdmcp/RA8.c4
-rw-r--r--xc/lib/Xdmcp/RAofA8.c4
-rw-r--r--xc/lib/Xdmcp/WA16.c4
-rw-r--r--xc/lib/Xdmcp/WA32.c4
-rw-r--r--xc/lib/Xdmcp/WA8.c4
-rw-r--r--xc/lib/Xdmcp/WAofA8.c4
-rw-r--r--xc/lib/Xdmcp/Whead.c4
9 files changed, 18 insertions, 18 deletions
diff --git a/xc/lib/Xdmcp/RA16.c b/xc/lib/Xdmcp/RA16.c
index 21579b571..139575720 100644
--- a/xc/lib/Xdmcp/RA16.c
+++ b/xc/lib/Xdmcp/RA16.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: RA16.c,v 1.1 89/09/14 17:11:13 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -45,7 +45,7 @@ XdmcpReadARRAY16 (buffer, array)
array->data = (CARD16 *) Xalloc (array->length * sizeof (CARD16));
if (!array->data)
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
{
if (!XdmcpReadCARD16 (buffer, &array->data[i]))
{
diff --git a/xc/lib/Xdmcp/RA32.c b/xc/lib/Xdmcp/RA32.c
index 27218c71f..516529090 100644
--- a/xc/lib/Xdmcp/RA32.c
+++ b/xc/lib/Xdmcp/RA32.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: RA32.c,v 1.1 89/09/14 17:11:14 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -45,7 +45,7 @@ XdmcpReadARRAY32 (buffer, array)
array->data = (CARD32 *) Xalloc (array->length * sizeof (CARD32));
if (!array->data)
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
{
if (!XdmcpReadCARD32 (buffer, &array->data[i]))
{
diff --git a/xc/lib/Xdmcp/RA8.c b/xc/lib/Xdmcp/RA8.c
index be8ae6dab..65d2620a7 100644
--- a/xc/lib/Xdmcp/RA8.c
+++ b/xc/lib/Xdmcp/RA8.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: RA8.c,v 1.1 89/09/14 17:11:15 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -45,7 +45,7 @@ XdmcpReadARRAY8 (buffer, array)
array->data = (CARD8 *) Xalloc (array->length * sizeof (CARD8));
if (!array->data)
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
{
if (!XdmcpReadCARD8 (buffer, &array->data[i]))
{
diff --git a/xc/lib/Xdmcp/RAofA8.c b/xc/lib/Xdmcp/RAofA8.c
index 1833ce53c..1b95e7e39 100644
--- a/xc/lib/Xdmcp/RAofA8.c
+++ b/xc/lib/Xdmcp/RAofA8.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: RAofA8.c,v 1.1 89/09/14 17:11:17 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -45,7 +45,7 @@ XdmcpReadARRAYofARRAY8 (buffer, array)
array->data = (ARRAY8 *) Xalloc (array->length * sizeof (ARRAY8));
if (!array->data)
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
{
if (!XdmcpReadARRAY8 (buffer, &array->data[i]))
{
diff --git a/xc/lib/Xdmcp/WA16.c b/xc/lib/Xdmcp/WA16.c
index 42175237f..e092e846e 100644
--- a/xc/lib/Xdmcp/WA16.c
+++ b/xc/lib/Xdmcp/WA16.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: WA16.c,v 1.1 89/09/14 17:11:23 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -37,7 +37,7 @@ XdmcpWriteARRAY16 (buffer, array)
if (!XdmcpWriteCARD8 (buffer, array->length))
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
if (!XdmcpWriteCARD16 (buffer, array->data[i]))
return FALSE;
return TRUE;
diff --git a/xc/lib/Xdmcp/WA32.c b/xc/lib/Xdmcp/WA32.c
index ac170b450..140b4cfd8 100644
--- a/xc/lib/Xdmcp/WA32.c
+++ b/xc/lib/Xdmcp/WA32.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: WA32.c,v 1.1 89/09/14 17:11:24 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -37,7 +37,7 @@ XdmcpWriteARRAY32 (buffer, array)
if (!XdmcpWriteCARD8 (buffer, array->length))
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
if (!XdmcpWriteCARD32 (buffer, array->data[i]))
return FALSE;
return TRUE;
diff --git a/xc/lib/Xdmcp/WA8.c b/xc/lib/Xdmcp/WA8.c
index 6f99e61fb..a39f1f4fb 100644
--- a/xc/lib/Xdmcp/WA8.c
+++ b/xc/lib/Xdmcp/WA8.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: WA8.c,v 1.1 89/09/14 17:11:25 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -37,7 +37,7 @@ XdmcpWriteARRAY8 (buffer, array)
if (!XdmcpWriteCARD16 (buffer, array->length))
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
if (!XdmcpWriteCARD8 (buffer, array->data[i]))
return FALSE;
return TRUE;
diff --git a/xc/lib/Xdmcp/WAofA8.c b/xc/lib/Xdmcp/WAofA8.c
index 7f2a0d950..000b555f0 100644
--- a/xc/lib/Xdmcp/WAofA8.c
+++ b/xc/lib/Xdmcp/WAofA8.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium: WAofA8.c,v 1.1 89/09/14 17:11:25 keith Exp $
+ * $XConsortium: WAofA8.c,v 1.2 90/07/31 09:52:42 rws Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -37,7 +37,7 @@ XdmcpWriteARRAYofARRAY8 (buffer, array)
if (!XdmcpWriteCARD8 (buffer, array->length))
return FALSE;
- for (i = 0; i < array->length; i++)
+ for (i = 0; i < (int)array->length; i++)
if (!XdmcpWriteARRAY8 (buffer, &array->data[i]))
return FALSE;
return TRUE;
diff --git a/xc/lib/Xdmcp/Whead.c b/xc/lib/Xdmcp/Whead.c
index 8ce8a3f5f..c89ee06f7 100644
--- a/xc/lib/Xdmcp/Whead.c
+++ b/xc/lib/Xdmcp/Whead.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium$
+ * $XConsortium: Whead.c,v 1.1 89/09/14 17:11:27 keith Exp $
*
* Copyright 1989 Massachusetts Institute of Technology
*
@@ -35,7 +35,7 @@ XdmcpWriteHeader (buffer, header)
{
BYTE *newData;
- if (buffer->size < 6 + header->length)
+ if ((int)buffer->size < 6 + (int)header->length)
{
newData = (BYTE *) Xalloc (XDM_MAX_MSGLEN * sizeof (BYTE));
if (!newData)