summaryrefslogtreecommitdiffstats
path: root/libfreerdp/core/aad.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfreerdp/core/aad.c')
-rw-r--r--libfreerdp/core/aad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfreerdp/core/aad.c b/libfreerdp/core/aad.c
index 72204d7..15eabed 100644
--- a/libfreerdp/core/aad.c
+++ b/libfreerdp/core/aad.c
@@ -210,8 +210,8 @@ cJSON* cJSON_ParseWithLength(const char* value, size_t buffer_length)
static INLINE const char* aad_auth_result_to_string(DWORD code)
{
-#define ERROR_CASE(cd, x) \
- if (cd == (DWORD)(x)) \
+#define ERROR_CASE(cd, x) \
+ if ((cd) == (DWORD)(x)) \
return #x;
ERROR_CASE(code, S_OK)