diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/raymath.h | 2 | ||||
| -rw-r--r-- | src/rlgl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/raymath.h b/src/raymath.h index c9848a7f..63fc9696 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -75,7 +75,7 @@ // Defines and Macros //---------------------------------------------------------------------------------- #ifndef PI - #define PI 3.14159265358979323846 + #define PI 3.14159265358979323846f #endif #ifndef DEG2RAD @@ -4922,7 +4922,7 @@ char *LoadFileText(const char *fileName) if (size > 0) { text = (char *)RL_MALLOC((size + 1)*sizeof(char)); - int count = fread(text, sizeof(char), size, textFile); + int count = (int)fread(text, sizeof(char), size, textFile); // WARNING: \r\n is converted to \n on reading, so, // read bytes count gets reduced by the number of lines |
