[Asterisk-code-review] func env: Compile in Solaris 11. (asterisk[15])

Alexander Traud asteriskteam at digium.com
Thu Jun 21 05:17:14 CDT 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/9250


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/50/9250/1

diff --git a/funcs/func_env.c b/funcs/func_env.c
index 1b11b1f..861adeb 100644
--- a/funcs/func_env.c
+++ b/funcs/func_env.c
@@ -307,7 +307,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/9250
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
Gerrit-Change-Number: 9250
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/f8d29f7f/attachment.html>


More information about the asterisk-code-review mailing list