Commit d9a57383 authored by marko's avatar marko

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

parent 54a450f6
...@@ -246,7 +246,7 @@ value may wrap around. It should only be used for heuristic ...@@ -246,7 +246,7 @@ value may wrap around. It should only be used for heuristic
purposes. purposes.
@return ms since epoch */ @return ms since epoch */
UNIV_INTERN UNIV_INTERN
uint ulint
ut_time_ms(void); ut_time_ms(void);
/*============*/ /*============*/
#endif /* !UNIV_HOTBACKUP */ #endif /* !UNIV_HOTBACKUP */
......
...@@ -206,7 +206,7 @@ value may wrap around. It should only be used for heuristic ...@@ -206,7 +206,7 @@ value may wrap around. It should only be used for heuristic
purposes. purposes.
@return ms since epoch */ @return ms since epoch */
UNIV_INTERN UNIV_INTERN
uint ulint
ut_time_ms(void) ut_time_ms(void)
/*============*/ /*============*/
{ {
...@@ -214,7 +214,7 @@ ut_time_ms(void) ...@@ -214,7 +214,7 @@ ut_time_ms(void)
ut_gettimeofday(&tv, NULL); 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 */ #endif /* !UNIV_HOTBACKUP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment