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

Joshua Colp asteriskteam at digium.com
Fri Jun 22 07:18:29 CDT 2018


Joshua Colp has submitted this change and it was merged. ( 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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



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: merged
Gerrit-Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
Gerrit-Change-Number: 9249
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180622/7cc73603/attachment.html>


More information about the asterisk-code-review mailing list