1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/tdb/tools
Martin Schwenke cfd34eef58 tdb: Fix some signed/unsigned comparisons
[207/389] Compiling lib/tdb/tools/tdbdump.c
../../../lib/tdb/tools/tdbrestore.c: In function ‘read_linehead’:
../../../lib/tdb/tools/tdbrestore.c:43:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
   43 |  for (i=0; i<sizeof(prefix); i++) {
      |             ^
../../../lib/tdb/tools/tdbrestore.c: In function ‘read_data’:
../../../lib/tdb/tools/tdbrestore.c:95:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   95 |  for (i=0; i<size; i++) {
      |             ^

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
2020-07-16 01:29:45 +00:00
..
tdbbackup.c tdb: adding readonly locks mode to tdbbackup tool 2018-08-06 05:37:42 +02:00
tdbdump.c lib:tdb: Use C99 initializer for tdb_logging_context 2019-01-28 10:29:22 +01:00
tdbrestore.c tdb: Fix some signed/unsigned comparisons 2020-07-16 01:29:45 +00:00
tdbtest.c tdb: Fix blank line endings 2013-03-26 10:11:48 +01:00
tdbtool.c tdbtool: avoid theoretical NULL dereference (CID 1361462) 2019-05-09 22:39:27 +00:00
tdbtorture.c tdbtorture: Use ARRAY_DEL_ELEMENT() 2020-03-26 16:22:00 +00:00