func_env: Compile in Solaris 11.

Change-Id: Idc9b36720f3d29c90a35a6a1ae79a7f9e1aaf50e
16.0
Alexander Traud 7 years ago
parent 2a8318554b
commit 6f47b84fbd

@ -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); snprintf(buf, len, "%d", (int) s.st_ctime);
break; break;
case 'm': case 'm':
snprintf(buf, len, "%o", s.st_mode); snprintf(buf, len, "%o", (unsigned int) s.st_mode);
break; break;
} }
} }

Loading…
Cancel
Save