Commit 0d10f6dbe26117ca84943d3518c2879193e55c5e

tin-pot 2016-12-05T12:34:29

md2html.c: No need for <stdint.h>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/md2html/md2html.c b/md2html/md2html.c
index fc28a29..b75840e 100644
--- a/md2html/md2html.c
+++ b/md2html/md2html.c
@@ -24,7 +24,6 @@
  */
 
 #include <stdio.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
@@ -141,7 +140,7 @@ membuf_append_escaped(struct membuffer* buf, const char* data, MD_SIZE size)
 static void
 membuf_append_url_escaped(struct membuffer* buf, const char* data, MD_SIZE size)
 {
-    static const uint8_t hex_chars[] = "0123456789ABCDEF";
+    static const char hex_chars[] = "0123456789ABCDEF";
     MD_OFFSET beg = 0;
     MD_OFFSET off = 0;