diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:51:12 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:51:12 +0000 |
commit | a72466d1a29166ace980e1fb6bf282862da9a55f (patch) | |
tree | cf85e36d27ab8bb33e9bba41a9d0183b5e81c090 /idlc/source | |
parent | aaa6bdbaba83340b161fba1f9cbe14e8e82b4d2c (diff) |
INTEGRATION: CWS warnings01 (1.3.4); FILE MERGED
2005/11/08 16:34:38 pl 1.3.4.1: #i53898# removed warnings
Diffstat (limited to 'idlc/source')
-rw-r--r-- | idlc/source/preproc/include.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/idlc/source/preproc/include.c b/idlc/source/preproc/include.c index b151488b181b..45f18c20f6bd 100644 --- a/idlc/source/preproc/include.c +++ b/idlc/source/preproc/include.c @@ -4,9 +4,9 @@ * * $RCSfile: include.c,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:14:43 $ + * last change: $Author: hr $ $Date: 2006-06-20 03:51:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -82,7 +82,7 @@ void if (trp->tp->type == STRING) { len = trp->tp->len - 2; - if (len > sizeof(fname) - 1) + if (len > (int)sizeof(fname) - 1) len = sizeof(fname) - 1; strncpy(fname, (char *) trp->tp->t + 1, len); angled = 0; @@ -165,7 +165,7 @@ syntax: void genline(void) { - static Token ta = {UNCLASS}; + static Token ta = {UNCLASS, 0, 0, 0, NULL }; static Tokenrow tr = {&ta, &ta, &ta + 1, 1}; uchar *p; @@ -197,7 +197,7 @@ void void genimport(char *fname, int angled, char *iname, int import) { - static Token ta = {UNCLASS}; + static Token ta = {UNCLASS, 0, 0, 0, NULL }; static Tokenrow tr = {&ta, &ta, &ta + 1, 1}; uchar *p; @@ -239,7 +239,7 @@ void void genwrap(int end) { - static Token ta = {UNCLASS}; + static Token ta = {UNCLASS, 0, 0, 0, NULL}; static Tokenrow tr = {&ta, &ta, &ta + 1, 1}; uchar *p; |