Code

make sure enum object_type is signed
authorNicolas Pitre <nico@cam.org>
Wed, 28 Feb 2007 01:38:31 +0000 (20:38 -0500)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Feb 2007 05:37:46 +0000 (21:37 -0800)
commitfef742c4ed2be2b3b72f510314b7b2f3a7a7d0a7
tree435b9d56777866a9b9be063b96ce1eaea21d6ca8
parent0ab179504a17907c395a4009f7c23d2f71bba1d3
make sure enum object_type is signed

This allows for keeping the common idiom which consists of using
negative values to signal error conditions by ensuring that the enum
will be a signed type.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h