* Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32320 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-08-13 16:28:28 +00:00
parent 5544f69de6
commit 399d690252

View File

@ -138,7 +138,7 @@ service::operator==(const struct service& other) const
// compare arguments
for(int i = 0; i < arguments.size(); i++) {
for(size_t i = 0; i < arguments.size(); i++) {
if (arguments[i] != other.arguments[i])
return false;
}
@ -565,7 +565,7 @@ Services::_LaunchService(struct service& service, int socket)
if (args == NULL)
exit(1);
for (int i = 0; i < service.arguments.size(); i++) {
for (size_t i = 0; i < service.arguments.size(); i++) {
args[i] = service.arguments[i].c_str();
}
args[service.arguments.size()] = NULL;