summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/raymath.h2
-rw-r--r--src/rlgl.h2
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
diff --git a/src/rlgl.h b/src/rlgl.h
index ab23b3ab..3bd79a36 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -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