From 584c144c012dc7004d09e1f08bf1eecd12bae567 Mon Sep 17 00:00:00 2001
From: posophe
Date: Mon, 16 Nov 2015 15:43:28 +0100
Subject: [PATCH] Update core_func_common.cpp
---
test/core/core_func_common.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/core/core_func_common.cpp b/test/core/core_func_common.cpp
index 0ff7a22c..ef10b182 100644
--- a/test/core/core_func_common.cpp
+++ b/test/core/core_func_common.cpp
@@ -222,8 +222,8 @@ namespace floatBitsToInt
float A = 1.0f;
int B = glm::floatBitsToInt(A);
float C = glm::intBitsToFloat(B);
- int D;
- std::memcpy(&D, &A, sizeof(D));
+ int D;
+ std::memcpy(&D, &A, sizeof(D));
Error += B == D ? 0 : 1;
Error += A == C ? 0 : 1;
}