Skip to main content
summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorEugene Tarassov2014-04-30 01:37:57 -0400
committerEugene Tarassov2014-04-30 01:37:57 -0400
commit461b5a279225aa2e8b186c3ce4fbeff3dff07fb7 (patch)
tree05ffe5699122f3b5acf2f8fd1057f00f93c6c61b /server
parentdad7ee783725de96e2ccd2a275cc58a1e364cb0f (diff)
downloadorg.eclipse.tcf.agent-461b5a279225aa2e8b186c3ce4fbeff3dff07fb7.tar.gz
org.eclipse.tcf.agent-461b5a279225aa2e8b186c3ce4fbeff3dff07fb7.tar.xz
org.eclipse.tcf.agent-461b5a279225aa2e8b186c3ce4fbeff3dff07fb7.zip
TCF Server: got rid of C++ compiler warning
Diffstat (limited to 'server')
-rw-r--r--server/tcf/services/context-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tcf/services/context-proxy.c b/server/tcf/services/context-proxy.c
index 2570625b..a0e5e2ac 100644
--- a/server/tcf/services/context-proxy.c
+++ b/server/tcf/services/context-proxy.c
@@ -1342,7 +1342,7 @@ int context_write_reg(Context * ctx, RegisterDefinition * def, unsigned offs, un
int context_read_reg(Context * ctx, RegisterDefinition * def, unsigned offs, unsigned size, void * buf) {
StackFrame * info = NULL;
if (get_frame_info(ctx, 0, &info) < 0) return -1;
- if (read_reg_bytes(info, def, offs, size, buf) < 0) return -1;
+ if (read_reg_bytes(info, def, offs, size, (uint8_t *)buf) < 0) return -1;
return 0;
}

Back to the top