]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
Fix warning about bitfield in struct ref
authorShawn O. Pearce <spearce@spearce.org>
Sun, 18 Nov 2007 09:31:37 +0000 (04:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2007 10:23:25 +0000 (02:23 -0800)
commit9f8a15c73437abc634f2c43501105b108c51eae8
tree2668487edc19d7df6029850170d62a270e5c5c69
parentca74c458a3908314cf29b96f1c43fe2b2597de76
Fix warning about bitfield in struct ref

cache.h:503: warning: type of bit-field 'force' is a GCC extension
cache.h:504: warning: type of bit-field 'merge' is a GCC extension
cache.h:505: warning: type of bit-field 'nonfastforward' is a GCC extension
cache.h:506: warning: type of bit-field 'deletion' is a GCC extension

So we change it to an 'unsigned int' which is not a GCC extension.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h