summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-30 22:03:47 (GMT)
committerGitHub <noreply@github.com>2017-11-30 22:03:47 (GMT)
commitc319eeeb45043ee45384b8064c53ddbfde1673cd (patch)
tree019237a6a3750aae2d7eac6d4700b0f25c2dbd2e /Parser
parent3be3b97a9709d3cd5303175ddbffa7dcca57ac3e (diff)
downloadcpython-c319eeeb45043ee45384b8064c53ddbfde1673cd.zip
cpython-c319eeeb45043ee45384b8064c53ddbfde1673cd.tar.gz
cpython-c319eeeb45043ee45384b8064c53ddbfde1673cd.tar.bz2
Fix CID-1420310: cast PY_TIMEOUT_MAX to _Py_time_t (#4646)
Fix the following false-alarm Coverity warning: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)integer_division: Dividing integer expressions 9223372036854775807LL and 1000LL, and then converting the integer quotient to type double. Any remainder, or fractional part of the quotient, is ignored. To compute and use a non-integer quotient, change or cast either operand to type double. If integer division is intended, consider indicating that by casting the result to type long long .
Diffstat (limited to 'Parser')
0 files changed, 0 insertions, 0 deletions