address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10096 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -73,11 +73,11 @@ RuleFilterConfig::RuleFilterConfig(BMessage *settings) : BView(BRect(0,0,260,85)
|
|||||||
chain = settings->FindInt32("argument");
|
chain = settings->FindInt32("argument");
|
||||||
else
|
else
|
||||||
chain = -1;
|
chain = -1;
|
||||||
printf("Chain: %d\n",chain);
|
printf("Chain: %ld\n",chain);
|
||||||
for (int32 i = 0; i < list.CountItems(); i++) {
|
for (int32 i = 0; i < list.CountItems(); i++) {
|
||||||
BMenuItem *item = new BMenuItem(((BMailChain *)(list.ItemAt(i)))->Name(), new BMessage(((BMailChain *)(list.ItemAt(i)))->ID()));
|
BMenuItem *item = new BMenuItem(((BMailChain *)(list.ItemAt(i)))->Name(), new BMessage(((BMailChain *)(list.ItemAt(i)))->ID()));
|
||||||
outbound->AddItem(item);
|
outbound->AddItem(item);
|
||||||
if (((BMailChain *)(list.ItemAt(i)))->ID() == chain)
|
if (((BMailChain *)(list.ItemAt(i)))->ID() == (unsigned)chain)
|
||||||
item->SetMarked(true);
|
item->SetMarked(true);
|
||||||
delete (BMailChain *)(list.ItemAt(i));
|
delete (BMailChain *)(list.ItemAt(i));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ bool MakeRegexCaseInsensitive(PortableString & str)
|
|||||||
{
|
{
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
PortableString ret;
|
PortableString ret;
|
||||||
for (uint32 i=0; i<str.Length(); i++)
|
for (uint32 i=0; i<(unsigned)str.Length(); i++)
|
||||||
{
|
{
|
||||||
char next = str[i];
|
char next = str[i];
|
||||||
if ((next >= 'A')&&(next <= 'Z'))
|
if ((next >= 'A')&&(next <= 'Z'))
|
||||||
|
|||||||
Reference in New Issue
Block a user