From: oetiker Date: Thu, 19 May 2005 23:19:09 +0000 (+0000) Subject: windows at least stores null terminated char strings in dummychar1 -- Philippe X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d0966d91273804db7da50af81a2ac151f0d561d;p=rrdtool.git windows at least stores null terminated char strings in dummychar1 -- Philippe git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@583 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_create.c b/src/rrd_create.c index cf8749e..e6a0e91 100644 --- a/src/rrd_create.c +++ b/src/rrd_create.c @@ -95,7 +95,8 @@ rrd_create_r(char *filename, rrd_t rrd; long i; int offset; - char *token,dummychar1,dummychar2; + char *token; + unsigned short dummychar1,dummychar2; unsigned short token_idx, error_flag, period=0; unsigned long hashed_name;