slweb

Једноставни генератор статичких веб страна
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување db3c7824cd2ed4e84dc508b200cbc320187ada3e
родитељ 41e8522e8795f3a74906a3f49d9c3a7e7b36fc58
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Thu, 11 Mar 2021 17:02:16 +0100

Corrected u_int8_t -> uint8_t

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
Mslweb.c | 6+++---
измењених датотека: 1, додавања: 3(+), брисања: 3(-)

diff --git a/slweb.c b/slweb.c @@ -39,7 +39,7 @@ static KeyValue* footnotes = NULL; static KeyValue* pfootnotes = NULL; static size_t footnote_count = 0; static size_t current_footnote = 0; -static u_int8_t** inline_footnotes = NULL; +static uint8_t** inline_footnotes = NULL; static size_t inline_footnote_count = 0; static size_t current_inline_footnote = 0; static uint8_t* csv_template = NULL; @@ -1707,7 +1707,7 @@ process_inline_footnote(uint8_t* token, BOOL read_yaml_macros_and_links, inline_footnote_count++; if (inline_footnote_count == 1 && footnote_count > 0) - warning(1, (u_int8_t*)"Both inline and regular footnotes present"); + warning(1, (uint8_t*)"Both inline and regular footnotes present"); else if (inline_footnote_count > 1) REALLOC(inline_footnotes, uint8_t*, sizeof(uint8_t*) * inline_footnote_count) CALLOC(inline_footnotes[inline_footnote_count-1], uint8_t, token_len+1) @@ -1734,7 +1734,7 @@ process_footnote(uint8_t* token, BOOL footnote_definition, BOOL footnote_output, { footnote_count++; if (footnote_count == 1 && inline_footnote_count > 0) - warning(1, (u_int8_t*)"Both inline and regular footnotes present"); + warning(1, (uint8_t*)"Both inline and regular footnotes present"); else if (footnote_count > 1) { REALLOC(footnotes, KeyValue, footnote_count * sizeof(KeyValue))