Public bug reported:
rrd_fetch_libdbi.c:220:62: note: expected ‘time_t *’ {aka ‘long long int *’}
but argument is of type ‘long int *’
220 | static int _sql_fetchrow(struct sql_table_helper* th,time_t *timestamp,
rrd_value_t *value,int ordered) {
| ~~~~~~~~^~~~~~~~~
_sql_fetchrow() has time_t as the type of the second argument:
static int _sql_fetchrow(struct sql_table_helper* th,time_t *timestamp,
rrd_value_t *value,int ordered);
But rrd_fetch_fn_libdbi() calls it with a long:
rrd_fetch_fn_libdbi(
...
long r_timestamp,l_timestamp,d_timestamp; <----
...
while((r_status=_sql_fetchrow(&table_help,&r_timestamp,&r_value,derive))>0) {
** Affects: rrdtool (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs update-excuse
** Tags added: update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077896
Title:
armhf time_t 64bits FTBFS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rrdtool/+bug/2077896/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs