gchar *buf = NULL, *tmp = NULL, *pw_name = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;
gchar *buf = NULL, *tmp = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;
gchar *buf = NULL, *tmp = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;
gchar *buf = NULL, *tmp = NULL, *pw_dir = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;
gchar *buf = NULL, *tmp = NULL, *pw_shell = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;
gchar *buf = NULL, *tmp = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;
gchar *buf = NULL, *tmp = NULL;
gsize size;
glong pw_size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
- if (pw_size_max <= sizeof(struct passwd))
+ if (pw_size_max <= (glong) sizeof(struct passwd))
size = 1024;
else
size = pw_size_max;