Code

windows at least stores null terminated char strings in dummychar1 -- Philippe
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 19 May 2005 23:19:09 +0000 (23:19 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 19 May 2005 23:19:09 +0000 (23:19 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@583 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_create.c

index cf8749e290079053663a23d7cf95e78a6aead9b5..e6a0e91e885169ca02ad3b27100a686b304b0ced 100644 (file)
@@ -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;