Fix a conditional check. (size - tc->size > 0) is always true if size and tc->size...
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:59:04 +0000 (12:59 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:14:07 +0000 (22:14 +0100)
commit2435334409d441e502535aa4b353cd7ef9174cf2
tree24335ec421d5e1545526eedda4a788b49d992336
parent378363f0c81fc3bf88fd2b4805ac59e3ccaaecdd
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>
(cherry picked from commit 0fbcfcc824e474874c15d7c0b2ea0df408448906)
lib/talloc/talloc.c