Fix a conditional check. (size - tc->size > 0) is always true if size and tc->size...
commita0b5d06271ab6c0a6f03f4eb8a2ca9839b8facf1
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:59:04 +0000 (27 12:59 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:13:09 +0000 (15 22:13 +0100)
treed8a62cc98fe6f69d0a27a1d6eac445f3af8e5cca
parent2d9ed1297a978abf954b5957e9dd5d62749142ef
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