1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-13 05:43:37 -04:00

[file] cast ti gid_t and uid_t

This commit is contained in:
Witold Filipczyk 2022-03-29 19:45:25 +02:00
parent 2e422b3cb8
commit 1b5dd3016f

View File

@ -163,7 +163,7 @@ stat_user(struct string *string, struct stat *stp)
{
#ifdef FS_UNIX_USERS
static char last_user[64];
static int last_uid = -1;
static uid_t last_uid = (uid_t)-1;
if (!stp) {
add_to_string(string, " ");
@ -192,7 +192,7 @@ stat_group(struct string *string, struct stat *stp)
{
#ifdef FS_UNIX_USERS
static char last_group[64];
static int last_gid = -1;
static gid_t last_gid = (gid_t)-1;
if (!stp) {
add_to_string(string, " ");