-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The cast was wrong and the pointer arithmetic was needlessly complicated. `wrap_str_const` now takes the end of the string as an argument instead of the length of the string which makes everything simpler and no longer rely on undefined behavior.
- Loading branch information
1 parent
a6237cf
commit 28f8a25
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters