diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-06 18:35:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-02 18:02:00 +0100 |
commit | e50c9826794f4a80b7200712afacb0752ccf8d6f (patch) | |
tree | 599e14ecbd512cfbf5fde5e7af9edb9fb6f97e36 /testprogs/win32/spoolss/printlib_proto.h | |
parent | 5c73ecd2b3b178dd57d7251342e966ea4f8044e0 (diff) | |
download | samba-e50c9826794f4a80b7200712afacb0752ccf8d6f.tar.gz samba-e50c9826794f4a80b7200712afacb0752ccf8d6f.tar.bz2 samba-e50c9826794f4a80b7200712afacb0752ccf8d6f.zip |
LDB:NSS - make LDB "signed-safe" on counter variables
"i" needs to be unsigned on both places since it counts till a "count" variable
of a "struct ldb_result" object which itself is unsigned.
I see counting variables much better as "unsigned" since in most cases we don't
use negative values at all. We've only to be careful on binary searches and
downto counts regarding them.
Diffstat (limited to 'testprogs/win32/spoolss/printlib_proto.h')
0 files changed, 0 insertions, 0 deletions