[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mig] 01/02: patches/warning: port upstream fix for MACH_MSG_TYPE_POLYMO
From: |
Samuel Thibault |
Subject: |
[mig] 01/02: patches/warning: port upstream fix for MACH_MSG_TYPE_POLYMORPHIC warning. |
Date: |
Sun, 07 Jan 2018 16:31:24 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository mig.
commit 9b0e66b670c6c21cedd01ed3d2dc09a8adb7f103
Author: Samuel Thibault <address@hidden>
Date: Sun Jan 7 17:24:22 2018 +0100
patches/warning: port upstream fix for MACH_MSG_TYPE_POLYMORPHIC warning.
---
debian/changelog | 1 +
utils.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b60cc17..8d4379c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
mig (1.8-2) UNRELEASED; urgency=medium
* Use canonical anonscm vcs URL.
+ * patches/warning: port upstream fix for MACH_MSG_TYPE_POLYMORPHIC warning.
-- Samuel Thibault <address@hidden> Fri, 20 Jan 2017 23:35:19 +0100
diff --git a/utils.c b/utils.c
index a06001b..d6a2b72 100644
--- a/utils.c
+++ b/utils.c
@@ -284,7 +284,7 @@ WriteStaticLongDecl(FILE *file, const ipc_type_t *it,
strdealloc(dealloc));
fprintf(file, "\t\t/* msgt_unused = */\t\t0\n");
fprintf(file, "\t},\n");
- fprintf(file, "\t\t/* msgtl_name = */\t%s,\n",
+ fprintf(file, "\t\t/* msgtl_name = */\t(unsigned short) %s,\n",
inname ? it->itInNameStr : it->itOutNameStr);
fprintf(file, "\t\t/* msgtl_size = */\t%d,\n", it->itSize);
fprintf(file, "\t\t/* msgtl_number = */\t%d,\n", it->itNumber);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/mig.git