From 1faae4c41b7773b67e0334a9276964b93b709bab Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 25 Mar 2005 23:41:32 +0000 Subject: [PATCH] Cast a variable to eliminate a warning message. --- src/plugins/switch/elan/switch_elan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/switch/elan/switch_elan.c b/src/plugins/switch/elan/switch_elan.c index 3ca81645325..91277e6b418 100644 --- a/src/plugins/switch/elan/switch_elan.c +++ b/src/plugins/switch/elan/switch_elan.c @@ -662,7 +662,7 @@ int switch_p_job_attach ( switch_jobinfo_t jobinfo, char ***env, /* * Tell libelan the key to use for Elan state shmem segment */ - if ((id = qsw_statkey (jobinfo)) > 0) + if ((id = qsw_statkey ((qsw_jobinfo_t) jobinfo)) > 0) setenvpf (env, "ELAN_STATKEY", "0x%x", id); -- GitLab