mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too)
This commit is contained in:
parent
2ac602bff1
commit
ef763c0184
@ -19,6 +19,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include "timelib.h"
|
||||
#include <math.h>
|
||||
|
||||
timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user