Fixed a couple of warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1275 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -29,7 +29,7 @@ Pattern::Pattern(const std::string &string)
|
|||||||
// Build a mask with all bits turned on of the
|
// Build a mask with all bits turned on of the
|
||||||
// appropriate length
|
// appropriate length
|
||||||
std::string mask = "";
|
std::string mask = "";
|
||||||
for (int i = 0; i < string.length(); i++)
|
for (uint i = 0; i < string.length(); i++)
|
||||||
mask += (char)0xFF;
|
mask += (char)0xFF;
|
||||||
SetTo(string, mask);
|
SetTo(string, mask);
|
||||||
}
|
}
|
||||||
@@ -54,7 +54,7 @@ Pattern::GetErr() const {
|
|||||||
void dumpStr(const std::string &string, const char *label = NULL) {
|
void dumpStr(const std::string &string, const char *label = NULL) {
|
||||||
if (label)
|
if (label)
|
||||||
printf("%s: ", label);
|
printf("%s: ", label);
|
||||||
for (int i = 0; i < string.length(); i++)
|
for (uint i = 0; i < string.length(); i++)
|
||||||
printf("%x ", string[i]);
|
printf("%x ", string[i]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user