mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-01 02:08:03 +02:00
Switch indexing variable from int to size_t
This commit is contained in:
parent
b7b7eac423
commit
f62b2a7650
1 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ out:
|
|||
}
|
||||
|
||||
static dbus_bool_t
|
||||
_associate (char *dirpath, int index, dbus_bool_t file_only)
|
||||
_associate (char *dirpath, size_t index, dbus_bool_t file_only)
|
||||
{
|
||||
int res;
|
||||
struct stat sb;
|
||||
|
|
@ -254,7 +254,7 @@ bus_set_watched_dirs (BusContext *context, DBusList **directories)
|
|||
DBusList *link;
|
||||
char buffer[256];
|
||||
char *dirpath;
|
||||
int num_objects;
|
||||
size_t num_objects;
|
||||
DIR *directory;
|
||||
struct dirent *entry = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue