summaryrefslogtreecommitdiffstats
path: root/src/sss_client/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sss_client/common.c')
-rw-r--r--src/sss_client/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/common.c b/src/sss_client/common.c
index d99086147..6044af072 100644
--- a/src/sss_client/common.c
+++ b/src/sss_client/common.c
@@ -424,7 +424,7 @@ static bool sss_cli_check_version(const char *socket_name)
return false;
}
- obtained_version = ((uint32_t *)repbuf)[0];
+ SAFEALIGN_COPY_UINT32(&obtained_version, repbuf, NULL);
free(repbuf);
return (obtained_version == expected_version);