projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f77b40
)
journal-remote: code is of type enum MHD_RequestTerminationCode
author
Cristian RodrÃguez
<crodriguez@owncloud.com>
Fri, 11 Nov 2022 15:28:51 +0000
(15:28 +0000)
committer
Luca Boccassi
<bluca@debian.org>
Sat, 12 Nov 2022 00:40:16 +0000
(
00:40
+0000)
Fixes gcc 13 -Wenum-int-mismatch which are enabled by default.
src/journal-remote/microhttpd-util.h
patch
|
blob
|
history
diff --git
a/src/journal-remote/microhttpd-util.h
b/src/journal-remote/microhttpd-util.h
index 7e7d1b56b1b3127641c077e80779f613b4577e5a..df183354694117d1bf4a533539424469bed5093c 100644
(file)
--- a/
src/journal-remote/microhttpd-util.h
+++ b/
src/journal-remote/microhttpd-util.h
@@
-64,11
+64,11
@@
void microhttpd_logger(void *arg, const char *fmt, va_list ap) _printf_(2, 0);
int mhd_respondf(struct MHD_Connection *connection,
int error,
-
unsigned
code,
+
enum MHD_RequestTerminationCode
code,
const char *format, ...) _printf_(4,5);
int mhd_respond(struct MHD_Connection *connection,
-
unsigned
code,
+
enum MHD_RequestTerminationCode
code,
const char *message);
int mhd_respond_oom(struct MHD_Connection *connection);