match_header and spam_filter: fixes 64 bit warnings
This commit is contained in:
parent
a8dca85557
commit
5f3e33091c
@ -85,7 +85,7 @@ RuleFilterConfig::RuleFilterConfig(const BMessage *settings)
|
||||
chain = settings->FindInt32("argument");
|
||||
else
|
||||
chain = -1;
|
||||
printf("Chain: %ld\n",chain);
|
||||
printf("Chain: %" B_PRId32 "\n",chain);
|
||||
|
||||
BMailAccounts accounts;
|
||||
for (int32 i = 0; i < accounts.CountAccounts(); i++) {
|
||||
|
@ -43,7 +43,7 @@ RuleFilter::RuleFilter(MailProtocol& protocol, AddonSettings* addonSettings)
|
||||
fMatcher.SetPattern(regex, false);
|
||||
|
||||
settings->FindString("argument",&fArg);
|
||||
settings->FindInt32("do_what",(long *)&fDoWhat);
|
||||
settings->FindInt32("do_what", (int32*)&fDoWhat);
|
||||
if (fDoWhat == Z_SET_REPLY)
|
||||
settings->FindInt32("argument", &fReplyAccount);
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ AGMSBayesianSpamFilterConfig::ShowSpamServerConfigurationWindow () {
|
||||
maximizeCommand.what = B_SET_PROPERTY;
|
||||
maximizeCommand.AddBool ("data", false);
|
||||
maximizeCommand.AddSpecifier ("Minimize");
|
||||
maximizeCommand.AddSpecifier ("Window", 0L);
|
||||
maximizeCommand.AddSpecifier ("Window", (int32)0);
|
||||
errorCode = messengerToServer.SendMessage (&maximizeCommand, &replyMessage);
|
||||
if (errorCode != B_OK)
|
||||
goto ErrorExit;
|
||||
|
Loading…
Reference in New Issue
Block a user