E17: fix warning on freebsd
authorVincent Torri <vincent.torri@gmail.com>
Sat, 1 Dec 2012 07:22:31 +0000 (07:22 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Sat, 1 Dec 2012 07:22:31 +0000 (07:22 +0000)
Patch by Maxime Villard (rustyBSD)

SVN revision: 79961

src/modules/temperature/tempget.c

index 5ec638b..886add3 100644 (file)
@@ -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