Skip to content

Commit fcd1a17

Browse files
authored
Merge pull request #50 from Rouiller/patch-1
Fix type in compiler warnings descriptions
2 parents e2a8aef + 9446844 commit fcd1a17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/CompilerWarnings.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function(
1313
if("${MSVC_WARNINGS}" STREQUAL "")
1414
set(MSVC_WARNINGS
1515
/W4 # Baseline reasonable warnings
16-
/w14242 # 'identifier': conversion from 'type1' to 'type1', possible loss of data
16+
/w14242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
1717
/w14254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
1818
/w14263 # 'function': member function does not override any base class virtual member function
1919
/w14265 # 'classname': class has virtual functions, but destructor is not virtual instances of this class may not
@@ -30,7 +30,7 @@ function(
3030
/w14555 # expression has no effect; expected expression with side- effect
3131
/w14619 # pragma warning: there is no warning number 'number'
3232
/w14640 # Enable warning on thread un-safe static member initialization
33-
/w14826 # Conversion from 'type1' to 'type_2' is sign-extended. This may cause unexpected runtime behavior.
33+
/w14826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior.
3434
/w14905 # wide string literal cast to 'LPSTR'
3535
/w14906 # string literal cast to 'LPWSTR'
3636
/w14928 # illegal copy-initialization; more than one user-defined conversion has been implicitly applied

0 commit comments

Comments
 (0)