* Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32320 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5544f69de6
commit
399d690252
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user