func_env: Compile in Solaris 11.

Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
This commit is contained in:
Alexander Traud
2018-06-21 12:04:46 +02:00
parent 2a8318554b
commit 6f47b84fbd

View File

@@ -307,7 +307,7 @@ static int stat_read(struct ast_channel *chan, const char *cmd, char *data,
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;
}
}