Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-06-14 18:47:59 +0000
committerEugene Tarassov2017-06-14 18:47:59 +0000
commit01305f142b18a30c71c3ba00897534ccb679a1c9 (patch)
tree56ac655af14222a41a3925887e578c338914b330 /agent/tcf/services/diagnostics.c
parent5ec928ddf62b0ad936efacf2b2d8fb87cca112ac (diff)
downloadorg.eclipse.tcf.agent-01305f142b18a30c71c3ba00897534ccb679a1c9.tar.gz
org.eclipse.tcf.agent-01305f142b18a30c71c3ba00897534ccb679a1c9.tar.xz
org.eclipse.tcf.agent-01305f142b18a30c71c3ba00897534ccb679a1c9.zip
TCF Agent: got rid of compiler warning: cast from pointer to integer of different size
Diffstat (limited to 'agent/tcf/services/diagnostics.c')
-rw-r--r--agent/tcf/services/diagnostics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/diagnostics.c b/agent/tcf/services/diagnostics.c
index 53e87901..c00bc6de 100644
--- a/agent/tcf/services/diagnostics.c
+++ b/agent/tcf/services/diagnostics.c
@@ -300,7 +300,7 @@ static void get_symbol_cache_client(void * x) {
int cls = 0;
error = 0;
if (find_test_symbol(ctx, args->name, &ptr, &cls) < 0) error = errno;
- addr = (ContextAddress)ptr;
+ addr = (ContextAddress)(uintptr_t)ptr;
}
#endif

Back to the top