mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
func_env: Compile in Solaris 11.
Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user