Skip to content

Conversation

@SinghRajenM
Copy link
Collaborator

Fixed issue #43

const char* FALSE_STR = "false";
sizeof(NULL_STR) give the size of pointer instead of the string (char array). So this issue may not be seen in
x64 bit as sizeof pointer in x64 is 8 whereas 4 in x86.

Use strlen to get the length of the string.

@jeffaust
Copy link

jeffaust commented Dec 9, 2018

Not currently setup for C++. Will give it a shot when I can.

Thanks!

@jeffaust
Copy link

jeffaust commented Dec 9, 2018

Works. Thanks!

@SinghRajenM SinghRajenM force-pushed the src_FixedIssue_20181209 branch 2 times, most recently from 5de0a03 to 458dba6 Compare January 12, 2019 13:36
@SinghRajenM SinghRajenM force-pushed the src_FixedIssue_20181209 branch from 458dba6 to 5bce57c Compare January 12, 2019 13:50
@SinghRajenM SinghRajenM mentioned this pull request Jan 12, 2019
@kapilratnani kapilratnani merged commit d81c0b3 into NPP-JSONViewer:master Jan 12, 2019
@SinghRajenM SinghRajenM deleted the src_FixedIssue_20181209 branch January 12, 2019 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants