open-safer.c: avoid 'signed and unsigned in conditional...' warning
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Oct 2008 19:48:54 +0000 (21:48 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 16 Oct 2008 19:48:54 +0000 (21:48 +0200)
commit1b71c50d5a227649f1bcc11cf79e2be7ef68fff8
tree732974c0f702a946573583659cab41ea56ec1cd4
parenta4a0c243a54ad491ffb42d7d7a7dad1ae25ffa39
open-safer.c: avoid 'signed and unsigned in conditional...' warning

* lib/open-safer.c (open_safer): Use an "if/else" statement in place
of the ternary operator.  Reported by Reuben Thomas <rrt@sc3d.org>.
ChangeLog
lib/open-safer.c