* xdisp.c (message_log_check_duplicate): Return unsigned long, not int.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 08:10:11 +0000 (01:10 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 08:10:11 +0000 (01:10 -0700)
commit19ab8a188aed3904edb0cfa026503c4d63c57c5a
tree63cfa01be4216aed1af8a160ffcc2db023805818
parentf0641eff4f15f93287576f9902e4657af4fdd3e3
* xdisp.c (message_log_check_duplicate): Return unsigned long, not int.

This is less likely to overflow, and avoids undefined behavior if
overflow does occur.  All callers changed.  Use strtoul to scan
for the unsigned long integer.
src/ChangeLog
src/xdisp.c