diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-01-09 17:41:27 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-01-09 17:41:27 +0100 |
commit | 5f1e301d951c10533b101bcddc7a0262780743a3 (patch) | |
tree | 69a8b2e643cba59fd1e346804fd18dbd8b07577c /plugingui | |
parent | 28889768ccf76ab5f5847c45b99a096763005f0d (diff) |
Fix bad fread return type.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/resource.cc | 2 |
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); |