pmix/pmix_pointer_casts_2.patch
Philip Kovacs 4a4de9d2d6 add test suite patches
Signed-off-by: Philip Kovacs <pkdevel@yahoo.com>
2019-07-13 02:48:25 -04:00

14 lines
408 B
Diff

diff --git a/test/test_server.c b/test/test_server.c
index 981a6604..ee91afd9 100644
--- a/test/test_server.c
+++ b/test/test_server.c
@@ -195,7 +195,7 @@ static void server_unpack_procs(char *buf, size_t size)
size_t ltasks, ntasks;
int server_id;
- server_id = *ptr;
+ server_id = *(int *)ptr;
ptr += sizeof(int);
nspace = ptr;