Browse Source

branches/zip: ut_time_ms(): Return ulint, not uint.

pull/374/head
marko 16 years ago
parent
commit
d9a5738308
  1. 2
      include/ut0ut.h
  2. 4
      ut/ut0ut.c

2
include/ut0ut.h

@ -246,7 +246,7 @@ value may wrap around. It should only be used for heuristic
purposes.
@return ms since epoch */
UNIV_INTERN
uint
ulint
ut_time_ms(void);
/*============*/
#endif /* !UNIV_HOTBACKUP */

4
ut/ut0ut.c

@ -206,7 +206,7 @@ value may wrap around. It should only be used for heuristic
purposes.
@return ms since epoch */
UNIV_INTERN
uint
ulint
ut_time_ms(void)
/*============*/
{
@ -214,7 +214,7 @@ ut_time_ms(void)
ut_gettimeofday(&tv, NULL);
return((uint) tv.tv_sec * 1000 + tv.tv_usec / 1000);
return((ulint) tv.tv_sec * 1000 + tv.tv_usec / 1000);
}
#endif /* !UNIV_HOTBACKUP */

Loading…
Cancel
Save