[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/daemon
From: Stephan Kulow <coolo () kde ! org>
Date: 2009-02-16 11:09:04
Message-ID: 1234782544.087506.18578.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 926812 by coolo:
fix compilation warnings
M +1 -1 load.cpp
M +1 -1 main.cpp
--- trunk/icecream/daemon/load.cpp #926811:926812
@@ -203,7 +203,7 @@
#ifndef USE_SYSCTL
static unsigned long int scan_one( const char* buff, const char *key )
{
- char *b = strstr( buff, key );
+ const char *b = strstr( buff, key );
if ( !b )
return 0;
unsigned long int val = 0;
--- trunk/icecream/daemon/main.cpp #926811:926812
@@ -619,7 +619,7 @@
#ifdef HAVE_SYS_VFS_H
struct statfs buf;
int ret = statfs(envbasedir.c_str(), &buf);
- if (!ret && buf.f_bavail < (max_kids + 1 - current_kids) * 4 * 1024 * 1024 / \
buf.f_bsize) + if (!ret && long(buf.f_bavail) < long(max_kids + 1 - \
current_kids) * 4 * 1024 * 1024 / buf.f_bsize) msg.load = 1000;
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic