diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2014-12-18 01:19:18 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2014-12-18 01:19:18 +0000 |
commit | df46fee93c27faeac10ee23ed234af4be091312d (patch) | |
tree | 91ee309ec70be0ffff7b97e038b58e36293c7d68 /src/scalarproduct | |
parent | db4dae092f67f45913edcc1df403f47bf0558d1c (diff) | |
download | gnunet-df46fee93c27faeac10ee23ed234af4be091312d.tar.gz gnunet-df46fee93c27faeac10ee23ed234af4be091312d.zip |
Fix for systems with NULL defined as long
Diffstat (limited to 'src/scalarproduct')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct_alice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c index 03770144d..a003d6aab 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c | |||
@@ -261,7 +261,7 @@ destroy_service_session (struct AliceServiceSession *s) | |||
261 | if (NULL != s->client) | 261 | if (NULL != s->client) |
262 | { | 262 | { |
263 | GNUNET_SERVER_client_set_user_context (s->client, | 263 | GNUNET_SERVER_client_set_user_context (s->client, |
264 | NULL); | 264 | (void *)NULL); |
265 | GNUNET_SERVER_client_disconnect (s->client); | 265 | GNUNET_SERVER_client_disconnect (s->client); |
266 | s->client = NULL; | 266 | s->client = NULL; |
267 | } | 267 | } |
@@ -1356,7 +1356,7 @@ handle_client_disconnect (void *cls, | |||
1356 | return; | 1356 | return; |
1357 | s->client = NULL; | 1357 | s->client = NULL; |
1358 | GNUNET_SERVER_client_set_user_context (client, | 1358 | GNUNET_SERVER_client_set_user_context (client, |
1359 | NULL); | 1359 | (void *)NULL); |
1360 | destroy_service_session (s); | 1360 | destroy_service_session (s); |
1361 | } | 1361 | } |
1362 | 1362 | ||