Fixed MSVC error messages
"C4576: a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax" i.e. (Vector2) -> RAYGUI_CLITERAL(Vector2)
"C4838: conversion from 'int' to 'float' requires a narrowing conversion" i.e. added explicit (float) cast
I have only touched two header files, which one might use as-is in other projects (as I did). I have not changed the actual examples, since they are plain-C and should compile fine anyway.
Fixed MSVC error messages "C4576: a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax" i.e. (Vector2) -> RAYGUI_CLITERAL(Vector2) "C4838: conversion from 'int' to 'float' requires a narrowing conversion" i.e. added explicit (float) cast
I have only touched two header files, which one might use as-is in other projects (as I did). I have not changed the actual examples, since they are plain-C and should compile fine anyway.
Cheers.