소스 검색

build: fix minor build issues with Clang.

legacy
Sam Hocevar sam 13 년 전
부모
커밋
b2e00f113c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/lol/math/vector.h

+ 2
- 2
src/lol/math/vector.h 파일 보기

@@ -1203,9 +1203,9 @@ extern Quat<T> slerp(Quat<T> const &qa, Quat<T> const &qb, T f);
} \
\
tprefix \
inline double length(tname<type> const &a) \
inline type length(tname<type> const &a) \
{ \
return sqrt((double)sqlength(a)); \
return (type)sqrt((double)sqlength(a)); \
} \
\
tprefix \


불러오는 중...
취소
저장