[Asterisk-code-review] func env: Compile in Solaris 11. (asterisk[13])
Alexander Traud
asteriskteam at digium.com
Thu Jun 21 05:17:04 CDT 2018
Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/9249
Change subject: func_env: Compile in Solaris 11.
......................................................................
func_env: Compile in Solaris 11.
Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
---
M funcs/func_env.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/9249/1
diff --git a/funcs/func_env.c b/funcs/func_env.c
index 072714f..9a564e1 100644
--- a/funcs/func_env.c
+++ b/funcs/func_env.c
@@ -309,7 +309,7 @@
snprintf(buf, len, "%d", (int) s.st_ctime);
break;
case 'm':
- snprintf(buf, len, "%o", s.st_mode);
+ snprintf(buf, len, "%o", (unsigned int) s.st_mode);
break;
}
}
--
To view, visit https://gerrit.asterisk.org/9249
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
Gerrit-Change-Number: 9249
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180621/e68c743a/attachment.html>
More information about the asterisk-code-review
mailing list