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)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Mar 2015 09:55:36 +0000 (10:55 +0100)
commit1001970327a1dd2c1fb452557041fe525308f3be
tree24335ec421d5e1545526eedda4a788b49d992336
parentadf164fb1ccf24511654577f94f90531a1fa9e01
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