projects
/
dockapps
/
wmnotify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065388a
)
Replace u_intX by C99 uint_X
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 23 Mar 2014 04:27:18 +0000
(
00:27
-0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 23 Mar 2014 04:27:18 +0000
(
00:27
-0400)
src/configfile.c
patch
|
blob
|
history
diff --git
a/src/configfile.c
b/src/configfile.c
index
be8f77a
..
3248b65
100644
(file)
--- a/
src/configfile.c
+++ b/
src/configfile.c
@@
-22,11
+22,12
@@
# include "config.h"
#endif
+#include <stdint.h>
+#include <stdbool.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <stdlib.h>
-#include <stdbool.h>
#if STDC_HEADERS
# include <string.h>
@@
-283,7
+284,7
@@
static void ParseConfigurationFile(FILE *file)
} else if (STREQ(token, "port")) {
token = GetArguments("port", true);
wmnotify_infos.port =
- (u
_
int16_t) GetNumber(token, "port");
+ (uint16_t) GetNumber(token, "port");
}
else if (STREQ(token, "username")) {