diff --git a/program/src/rrd_tune.c b/program/src/rrd_tune.c
index 7ab31f53887c1b08b1fb2b5d6a019c420816d950..94d9293081e31f15ed336639030c5ba92e8f6e22 100644 (file)
--- a/program/src/rrd_tune.c
+++ b/program/src/rrd_tune.c
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.0.33 Copyright Tobias Oetiker, 1997 - 2000
+ * RRDtool 1.2.0 Copyright by Tobi Oetiker, 1997-2005
*****************************************************************************
* change header parameters of an rrd
*****************************************************************************
* $Id$
* $Log$
*****************************************************************************
* change header parameters of an rrd
*****************************************************************************
* $Id$
* $Log$
+ * Revision 1.6 2004/05/26 22:11:12 oetiker
+ * reduce compiler warnings. Many small fixes. -- Mike Slifcak <slif@bellsouth.net>
+ *
+ * Revision 1.5 2002/02/01 20:34:49 oetiker
+ * fixed version number and date/time
+ *
* Revision 1.4 2001/08/22 22:29:07 jake
* Contents of this patch:
* (1) Adds/revises documentation for rrd tune in rrd_tool.c and pod files.
* Revision 1.4 2001/08/22 22:29:07 jake
* Contents of this patch:
* (1) Adds/revises documentation for rrd tune in rrd_tool.c and pod files.
fclose(rrd_file);
return -1;
}
fclose(rrd_file);
return -1;
}
- if (dst_conv(dst) == -1){
+ if ((int)dst_conv(dst) == -1){
rrd_free(&rrd);
fclose(rrd_file);
return -1;
rrd_free(&rrd);
fclose(rrd_file);
return -1;
rrd_file);
} else {
int i;
rrd_file);
} else {
int i;
- for(i=0;i< rrd.stat_head->ds_cnt;i++)
+ for(i=0;i< (int)rrd.stat_head->ds_cnt;i++)
if (dst_conv(rrd.ds_def[i].dst) != DST_CDEF) {
printf("DS[%s] typ: %s\thbt: %ld\tmin: %1.4f\tmax: %1.4f\n",
rrd.ds_def[i].ds_nam,
if (dst_conv(rrd.ds_def[i].dst) != DST_CDEF) {
printf("DS[%s] typ: %s\thbt: %ld\tmin: %1.4f\tmax: %1.4f\n",
rrd.ds_def[i].ds_nam,