summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:51:59 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:51:59 +0000
commit129a389ee00822a1c5c8e6fabe3634b519cc08ca (patch)
tree0955149955a52334138b240df0e0d2ffd75a57f8 /idlc
parentdbe5b6b631253183d52c59f5bcbebba956327a19 (diff)
INTEGRATION: CWS warnings01 (1.2.100); FILE MERGED
2005/11/21 16:48:17 sb 1.2.100.4: #i53898# Fixed previous change. 2005/11/21 16:28:41 sb 1.2.100.3: #i53898# Made code warning-free. 2005/09/23 00:08:43 sb 1.2.100.2: RESYNC: (1.2-1.3); FILE MERGED 2005/08/29 14:14:29 sb 1.2.100.1: #i53898# Made code warning-free.
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/preproc/tokens.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/idlc/source/preproc/tokens.c b/idlc/source/preproc/tokens.c
index 4ae00284d677..49fb538de765 100644
--- a/idlc/source/preproc/tokens.c
+++ b/idlc/source/preproc/tokens.c
@@ -4,9 +4,9 @@
*
* $RCSfile: tokens.c,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 18:16:16 $
+ * last change: $Author: hr $ $Date: 2006-06-20 03:51:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -84,7 +84,6 @@ unsigned char toLatin1[256] =
int
memcpy_EBCDIC( char * pwbuf, uchar *p, int len )
{
- int newlen = 0;
int currpos = 0;
int processedchars = 0;
@@ -408,7 +407,7 @@ void
tp->t[tp->len] = 0;
fprintf(stderr, "%s", tp->t);
- tp->t[tp->len] = c;
+ tp->t[tp->len] = (uchar) c;
}
fprintf(stderr, tp == trp->tp ? "{%x*} " : "{%x} ", tp->type);
}
@@ -523,7 +522,7 @@ char *
{
if (n >= 10)
p = outnum(p, n / 10);
- *p++ = n % 10 + '0';
+ *p++ = (char) (n % 10 + '0');
return p;
}