Try to squelch the warning about not using the return value of strtoul()
authorGuy Harris <guy@alum.mit.edu>
Wed, 8 Jun 2011 04:07:15 +0000 (04:07 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 8 Jun 2011 04:07:15 +0000 (04:07 -0000)
commita3714500fd33b34e136103bd25534bf056b7e8a5
tree102b031e63f6423c1c9ef08a1bf6a3dae74dcb5f
parente25095dfe51d35446dc59c8b622a5ccc37d4db45
Try to squelch the warning about not using the return value of strtoul()
- we really *are* using it just for its side-effects if it fails; its
return value is not the best way to check for failure, as the failure
return values are also valid return values on success.

While we're at it, check for it setting errno, which is one of the
better ways to check for failure.

svn path=/trunk/; revision=37606
gtk/prefs_dlg.c