diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-07-09 00:42:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 00:42:36 +0300 |
commit | f56ef28ccf168b5f9d42a9d405924ca604326ff7 (patch) | |
tree | 13b45d4c6f677c50721036c637b56f21e7cd2c64 /indra/llmath/v4math.h | |
parent | 94a66b558401c77953c990a992a91c7b32493f82 (diff) | |
parent | 9fdca96f8bd2211a99fe88e57b70cbecefa20b6d (diff) |
Merge pull request #1944 from Ansariel/develop_c4244
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
Diffstat (limited to 'indra/llmath/v4math.h')
-rw-r--r-- | indra/llmath/v4math.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llmath/v4math.h b/indra/llmath/v4math.h index 7ed22212d3..a5b6f506d7 100644 --- a/indra/llmath/v4math.h +++ b/indra/llmath/v4math.h @@ -67,10 +67,10 @@ class LLVector4 void setValue(const LLSD& sd) { - mV[0] = sd[0].asReal(); - mV[1] = sd[1].asReal(); - mV[2] = sd[2].asReal(); - mV[3] = sd[3].asReal(); + mV[0] = (F32)sd[0].asReal(); + mV[1] = (F32)sd[1].asReal(); + mV[2] = (F32)sd[2].asReal(); + mV[3] = (F32)sd[3].asReal(); } |