From 4973ab25be07404ad64b1eff1538cabfe69edbf7 Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 19 May 2005 23:19:09 +0000 Subject: [PATCH] windows at least stores null terminated char strings in dummychar1 -- Philippe git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@583 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_create.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/src/rrd_create.c b/program/src/rrd_create.c index cf8749e2..e6a0e91e 100644 --- a/program/src/rrd_create.c +++ b/program/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; -- 2.30.2