For the sake of consistency, use glib basic types everywhere.
[geeqie.git] / src / window.c
index 75a558f..decbe41 100644 (file)
@@ -97,7 +97,7 @@ static gchar *command_result(const gchar *binary, const gchar *command)
        f = popen(command, "r");
        if (!f) return NULL;
 
-       while ((l = fread(buf, sizeof(char), sizeof(buf), f)) > 0)
+       while ((l = fread(buf, sizeof(gchar), sizeof(buf), f)) > 0)
                {
                if (!result)
                        {