Skip to content
Snippets Groups Projects
Commit 1e7f32f5 authored by Meredith L. Patterson's avatar Meredith L. Patterson
Browse files

Merge branch 'bug90' into 'master'

Fix pointer signedness warning in h_literal()

See merge request hammer/hammer!26
parents 94c4cb77 683c7cbd
No related branches found
No related merge requests found
......@@ -295,7 +295,7 @@ HParseResult* h_parse_finish(HSuspendedParser* s);
*/
HAMMER_FN_DECL(HParser*, h_token, const uint8_t *str, const size_t len);
#define h_literal(s) h_token(s, sizeof(s)-1)
#define h_literal(s) h_token(((const uint8_t *)(s)), sizeof(s)-1)
/**
* Given a single character, returns a parser that parses that
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment