Skip to content
Commit 844ef674 authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

lib: json: Fix number parsing



Comparing *endptr with '\0' will always be true before replacing
*token->end with prev_end.

Jira: ZEP-1607
Change-Id: I224129586e15380d3919bfba3db4fcf38c28cb07
Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 122cdb39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment