summaryrefslogtreecommitdiff
path: root/plugingui/resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/resource.cc')
-rw-r--r--plugingui/resource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/resource.cc b/plugingui/resource.cc
index d8dc35c..80bd51e 100644
--- a/plugingui/resource.cc
+++ b/plugingui/resource.cc
@@ -64,7 +64,7 @@ GUI::Resource::Resource(std::string name)
if(!fp) return;
char buf[32];
while(!feof(fp)) {
- ssize_t sz = fread(buf, 1, sizeof(buf), fp);
+ size_t sz = fread(buf, 1, sizeof(buf), fp);
e_data.append(buf, sz);
}
fclose(fp);