diff options
author | abs <abs> | 2014-08-10 12:52:08 +0000 |
---|---|---|
committer | abs <abs> | 2014-08-10 12:52:08 +0000 |
commit | 789960aa72e88f5bba402e41aac5c97495307199 (patch) | |
tree | e76ce6509d215595b8e89b90e76908b2d44d6ee7 /mail/thunderbird/patches | |
parent | 20a73acbfdf2a06c3646e9d6fde8a700b748a9fd (diff) | |
download | pkgsrc-789960aa72e88f5bba402e41aac5c97495307199.tar.gz |
Avoid warning storing a size_t in an unsigned int on LP64 - fix
build on at least NetBSD 6.x/amd64
Diffstat (limited to 'mail/thunderbird/patches')
-rw-r--r-- | mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp b/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp new file mode 100644 index 00000000000..c5f03eb70c6 --- /dev/null +++ b/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp @@ -0,0 +1,25 @@ +$NetBSD: patch-mail_components_shell_nsMailGNOMEIntegration.cpp,v 1.1 2014/08/10 12:52:08 abs Exp $ + +Avoid warning storing a size_t in an unsigned int on LP64 + +--- mail/components/shell/nsMailGNOMEIntegration.cpp.orig 2014-07-18 00:04:06.000000000 +0000 ++++ mail/components/shell/nsMailGNOMEIntegration.cpp +@@ -50,15 +50,15 @@ struct AppTypeAssociation { + + static const AppTypeAssociation sAppTypes[] = { + { +- nsIShellService::MAIL, sMailProtocols, ArrayLength(sMailProtocols), ++ nsIShellService::MAIL, sMailProtocols, (unsigned int)ArrayLength(sMailProtocols), + "message/rfc822", "eml" + }, + { +- 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" + } + }; |