commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.6k stars 534 forks source link

Address implicit integer truncations #459

Closed anticomputer closed 1 year ago

anticomputer commented 1 year ago

This commit changes size integers to consistently be of type size_t to prevent implicit integer truncations during integer arithmetic.

What remain are explicit truncations to (bufsize_t) which is of type int32_t. This requires additional careful consideration.

anticomputer commented 1 year ago

Closed. Targeted wrong branch for PR.