Use 1ll instead of 1l for 64-bit integer literals

This commit is contained in:
Xavier Mendez 2015-03-31 12:57:50 +02:00
parent 8571a09526
commit bb68dc3c2b

View file

@ -18,47 +18,47 @@ extern "C" {
/* FEATURE FLAGS */
/* Block constructs */
#define HOEDOWN_FT_DIRECTIVE (1l << 0)
#define HOEDOWN_FT_INDENTED_CODE_BLOCK (1l << 1)
#define HOEDOWN_FT_FENCED_CODE_BLOCK (1l << 2)
#define HOEDOWN_FT_HORIZONTAL_RULE (1l << 3)
#define HOEDOWN_FT_ATX_HEADER (1l << 4)
#define HOEDOWN_FT_SETEXT_HEADER (1l << 5)
#define HOEDOWN_FT_LIST (1l << 8)
#define HOEDOWN_FT_QUOTE_BLOCK (1l << 31)
#define HOEDOWN_FT_HTML_BLOCK (1l << 6)
#define HOEDOWN_FT_TABLE (1l << 7)
#define HOEDOWN_FT_FOOTNOTE (1l << 27)
#define HOEDOWN_FT_DIRECTIVE (1ll << 0)
#define HOEDOWN_FT_INDENTED_CODE_BLOCK (1ll << 1)
#define HOEDOWN_FT_FENCED_CODE_BLOCK (1ll << 2)
#define HOEDOWN_FT_HORIZONTAL_RULE (1ll << 3)
#define HOEDOWN_FT_ATX_HEADER (1ll << 4)
#define HOEDOWN_FT_SETEXT_HEADER (1ll << 5)
#define HOEDOWN_FT_LIST (1ll << 8)
#define HOEDOWN_FT_QUOTE_BLOCK (1ll << 31)
#define HOEDOWN_FT_HTML_BLOCK (1ll << 6)
#define HOEDOWN_FT_TABLE (1ll << 7)
#define HOEDOWN_FT_FOOTNOTE (1ll << 27)
/* Inline constructs */
#define HOEDOWN_FT_ROLE (1l << 9)
#define HOEDOWN_FT_ESCAPE (1l << 10)
#define HOEDOWN_FT_LINEBREAK (1l << 12)
#define HOEDOWN_FT_URI_AUTOLINK (1l << 14)
#define HOEDOWN_FT_EMAIL_AUTOLINK (1l << 15)
#define HOEDOWN_FT_HTML (1l << 16)
#define HOEDOWN_FT_ENTITY (1l << 17)
#define HOEDOWN_FT_CODE (1l << 18)
#define HOEDOWN_FT_EMPHASIS (1l << 19)
#define HOEDOWN_FT_LINK (1l << 20)
#define HOEDOWN_FT_MATH (1l << 22)
#define HOEDOWN_FT_SUPERSCRIPT (1l << 23)
#define HOEDOWN_FT_QUOTE (1l << 24)
#define HOEDOWN_FT_STRIKETHROUGH (1l << 25)
#define HOEDOWN_FT_HIGHLIGHT (1l << 26)
#define HOEDOWN_FT_SIDENOTE (1l << 32)
#define HOEDOWN_FT_EMOJI (1l << 33)
#define HOEDOWN_FT_TYPOGRAPHY (1l << 34)
#define HOEDOWN_FT_ROLE (1ll << 9)
#define HOEDOWN_FT_ESCAPE (1ll << 10)
#define HOEDOWN_FT_LINEBREAK (1ll << 12)
#define HOEDOWN_FT_URI_AUTOLINK (1ll << 14)
#define HOEDOWN_FT_EMAIL_AUTOLINK (1ll << 15)
#define HOEDOWN_FT_HTML (1ll << 16)
#define HOEDOWN_FT_ENTITY (1ll << 17)
#define HOEDOWN_FT_CODE (1ll << 18)
#define HOEDOWN_FT_EMPHASIS (1ll << 19)
#define HOEDOWN_FT_LINK (1ll << 20)
#define HOEDOWN_FT_MATH (1ll << 22)
#define HOEDOWN_FT_SUPERSCRIPT (1ll << 23)
#define HOEDOWN_FT_QUOTE (1ll << 24)
#define HOEDOWN_FT_STRIKETHROUGH (1ll << 25)
#define HOEDOWN_FT_HIGHLIGHT (1ll << 26)
#define HOEDOWN_FT_SIDENOTE (1ll << 32)
#define HOEDOWN_FT_EMOJI (1ll << 33)
#define HOEDOWN_FT_TYPOGRAPHY (1ll << 34)
/* Other features */
#define HOEDOWN_FT_PREPROCESS (1l << 62)
#define HOEDOWN_FT_PREPROCESS (1ll << 62)
/* Flags */
#define HOEDOWN_FT_LINEBREAK_HARD (1l << 11)
#define HOEDOWN_FT_LINEBREAK_SOFT (1l << 13)
#define HOEDOWN_FT_LINK_IMAGE (1l << 21)
#define HOEDOWN_FT_INTRA_EMPHASIS (1l << 29)
#define HOEDOWN_FT_MATH_EXPLICIT (1l << 30)
#define HOEDOWN_FT_LINEBREAK_HARD (1ll << 11)
#define HOEDOWN_FT_LINEBREAK_SOFT (1ll << 13)
#define HOEDOWN_FT_LINK_IMAGE (1ll << 21)
#define HOEDOWN_FT_INTRA_EMPHASIS (1ll << 29)
#define HOEDOWN_FT_MATH_EXPLICIT (1ll << 30)
/* FEATURE GROUPS */