libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Use correct type in g_stat call.
2019-04-26, Elliott Sales de Andrade
9c0f0847ae76
Parents
bc1b7a003575
Children
19c1a4a2e5cc
Use correct type in g_stat call.
This causes warnings on some Windows builds.
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
gntfilesel.c
--- a/gntfilesel.c Fri Apr 26 08:24:08 2019 +0000
+++ b/gntfilesel.c Fri Apr 26 17:32:54 2019 -0400
@@ -193,7 +193,7 @@
while ((str = g_dir_read_name(dir)) != NULL) {
char *fp = g_build_filename(path, str, NULL);
- struct stat st;
+ GStatBuf st;
if (g_stat(fp, &st)) {
gnt_warning("Error stating location %s", fp);