Files
pkgsrc-ng/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
2016-11-18 22:39:22 +01:00

25 lines
1020 B
C++

$NetBSD: patch-mail_components_shell_nsMailGNOMEIntegration.cpp,v 1.3 2016/04/17 18:33:50 ryoon Exp $
--- mail/components/shell/nsMailGNOMEIntegration.cpp.orig 2016-04-07 21:14:23.000000000 +0000
+++ mail/components/shell/nsMailGNOMEIntegration.cpp
@@ -50,16 +50,16 @@ struct AppTypeAssociation {
static const AppTypeAssociation sAppTypes[] = {
{
- nsIShellService::MAIL, sMailProtocols, ArrayLength(sMailProtocols),
+ nsIShellService::MAIL, sMailProtocols, (unsigned int)ArrayLength(sMailProtocols),
"message/rfc822",
nullptr // don't associate .eml extension, as that breaks printing those
},
{
- nsIShellService::NEWS, sNewsProtocols, ArrayLength(sNewsProtocols),
+ nsIShellService::NEWS, sNewsProtocols, (unsigned int)ArrayLength(sNewsProtocols),
nullptr, nullptr
},
{
- nsIShellService::RSS, sFeedProtocols, ArrayLength(sFeedProtocols),
+ nsIShellService::RSS, sFeedProtocols, (unsigned int)ArrayLength(sFeedProtocols),
"application/rss+xml", "rss"
}
};