aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/tempget.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-12-01 07:22:31 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-12-01 07:22:31 +0000
commitffe6ab106c1858a8494845e595aa1651107cff6b (patch)
tree2b1df127113d6facc4a48f97b6f186b4b33a45c3 /src/modules/temperature/tempget.c
parentE17: define htonl correctly (diff)
downloadenlightenment-ffe6ab106c1858a8494845e595aa1651107cff6b.tar.gz
E17: fix warning on freebsd
Patch by Maxime Villard (rustyBSD) SVN revision: 79961
Diffstat (limited to 'src/modules/temperature/tempget.c')
-rw-r--r--src/modules/temperature/tempget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/temperature/tempget.c b/src/modules/temperature/tempget.c
index 5ec638bc3..886add379 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -95,7 +95,7 @@ init(void)
Eina_List *therms;
char path[PATH_MAX];
#ifdef __FreeBSD__
- int len;
+ size_t len;
#endif
if ((!sensor_type) || ((!sensor_name) || (sensor_name[0] == 0)))
@@ -360,7 +360,7 @@ check(void)
int temp = 0;
char buf[4096];
#ifdef __FreeBSD__
- int len;
+ size_t len;
size_t ftemp = 0;
#endif