Fix a conditional check. (size - tc->size > 0) is always true if size and tc->size...
commit0fbcfcc824e474874c15d7c0b2ea0df408448906
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:59:04 +0000 (27 12:59 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 22:44:20 +0000 (27 15:44 -0700)
treec6e78bef03792c1ad93d6f9341e57debbb7cbf9c
parent43860293225d14ca2c339277b42f8705322463ab
Fix a conditional check. (size - tc->size > 0) is always true if size and tc->size are unsigned.

Replace with (size > tc->size).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
lib/talloc/talloc.c