From 5f1e301d951c10533b101bcddc7a0262780743a3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 9 Jan 2014 17:41:27 +0100 Subject: Fix bad fread return type. --- plugingui/resource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3