mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Fix Visual Studio warning.
This commit is contained in:
parent
696d10f1bb
commit
e34a209584
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue