[ECPG] fix functions in dt_common to correctly detect integer overflow

Started by Yang Xiaoover 7 years ago1 messageshackers
Jump to latest
#1Yang Xiao
YangX92@hotmail.com

Hi,

The attachment is the proposal patch for dt_common.c.

replace strtol to strtoint, as strtol() will return 64-bit output in
that case, while type of var, hr, tm_min
 is int.

Young

Attachments:

0001-ECPG-fix-functions-in-dt_common-to-correctly-detect-.patchtext/plain; name=0001-ECPG-fix-functions-in-dt_common-to-correctly-detect-.patchDownload+13-13