blob: 48c258ab9e765e85013f9c2fc2940e2640a47eeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-main_http.c,v 1.1.1.1 2015/12/05 23:29:10 jnemeth Exp $
--- main/http.c.orig 2015-10-09 21:48:48.000000000 +0000
+++ main/http.c
@@ -304,7 +304,7 @@ static int static_callback(struct ast_tc
}
/* make "Etag:" http header value */
- snprintf(etag, sizeof(etag), "\"%ld\"", (long)st.st_mtime);
+ snprintf(etag, sizeof(etag), "\"%jd\"", (intmax_t)st.st_mtime);
/* make "Last-Modified:" http header value */
tv.tv_sec = st.st_mtime;
|