Skip to content

Commit c6de1c8

Browse files
committed
fix warning and conversion error in JSON parsing
1 parent 87e26d4 commit c6de1c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎libpstack/json.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ skipText(std::istream &l, const char *text)
378378
static inline Type
379379
peekType(std::istream &l)
380380
{
381-
char c = skipSpace(l);
381+
int c = skipSpace(l);
382382
switch (c) {
383383
case '{': return Object;
384384
case '[': return Array;

0 commit comments

Comments
 (0)