Commit e34a2095 authored by Stefan Krah's avatar Stefan Krah

Fix Visual Studio warning.

parent 696d10f1
...@@ -7431,7 +7431,7 @@ mpd_sizeinbase(mpd_t *a, uint32_t base) ...@@ -7431,7 +7431,7 @@ mpd_sizeinbase(mpd_t *a, uint32_t base)
if (x > 2711437152599294ULL) { if (x > 2711437152599294ULL) {
return SIZE_MAX; return SIZE_MAX;
} }
return (double)x / log10(base) + 3; return (size_t)((double)x / log10(base) + 3);
#endif #endif
#else /* CONFIG_32 */ #else /* CONFIG_32 */
{ {
......
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