diff options
author | Eugene Ostroukhov <eostroukhov@chromium.org> | 2016-09-02 02:25:02 +0300 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2016-09-19 22:40:16 +0300 |
commit | b4a249f66b4f92315fd45005eeeca679f76b3982 (patch) | |
tree | dbd988b478aaa3075de88d603efd6dc716e34d02 /src/inspector_socket.cc | |
parent | c5545f2c63fe30b0cfcdafab18c26df8286881d0 (diff) |
inspector: introduce a smoke test
This test executes a simple debug session over the inspector protocol.
PR-URL: https://github.com/nodejs/node/pull/8429
Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'src/inspector_socket.cc')
-rw-r--r-- | src/inspector_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_socket.cc b/src/inspector_socket.cc index ddf9e865229..5160843ff2d 100644 --- a/src/inspector_socket.cc +++ b/src/inspector_socket.cc @@ -33,7 +33,7 @@ static void dump_hex(const char* buf, size_t len) { while (ptr < end) { cptr = ptr; for (i = 0; i < 16 && ptr < end; i++) { - printf("%2.2X ", *(ptr++)); + printf("%2.2X ", static_cast<unsigned char>(*(ptr++))); } for (i = 72 - (i * 4); i > 0; i--) { printf(" "); |