Fixed warnings

This commit is contained in:
Christophe Riccio 2012-01-25 12:04:47 +00:00
parent 80e9c0ed64
commit 359312f503
2 changed files with 2 additions and 4 deletions

View File

@ -414,7 +414,7 @@
#define GLM_LANG_CXX98 ((1 << 1) | GLM_LANG_CXX)
#define GLM_LANG_CXX03 ((1 << 2) | GLM_LANG_CXX98)
#define GLM_LANG_CXX0X ((1 << 3) | GLM_LANG_CXX03)
#define GLM_LANG_CXX11 ((1 << 4) | GLM_LANG_CXX11)
#define GLM_LANG_CXX11 ((1 << 4) | GLM_LANG_CXX0X)
#define GLM_LANG_CXXMS (1 << 5)
#define GLM_LANG_CXXGNU (1 << 6)

View File

@ -250,9 +250,7 @@ namespace detail
// Assemble the half from s, e and m.
//
hdata Hdata(s | (e << 10) | (m >> 13));
return Hdata;
return hdata(s | (e << 10) | (m >> 13));
}
}