summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-08-29 19:25:44 +0200
committerRay <[email protected]>2023-08-29 19:25:44 +0200
commit150663f78a1b4e656b20e954bd1ff42049559290 (patch)
treef8e7d274e26c0306599b9914626701b2cf56cec6 /src
parentd047597244017ba81ab12d9fd714d001899a992e (diff)
downloadraylib-150663f78a1b4e656b20e954bd1ff42049559290.tar.gz
raylib-150663f78a1b4e656b20e954bd1ff42049559290.zip
Use type name instead of valid specifier
long long --> long long int
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 6e5d9496..210100fb 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -506,7 +506,7 @@ typedef struct CoreData {
double frame; // Time measure for one frame
double target; // Desired time for one frame, if 0 not applied
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI) || defined(PLATFORM_DRM)
- unsigned long long base; // Base time measure for hi-res timer
+ unsigned long long int base; // Base time measure for hi-res timer
#endif
unsigned int frameCounter; // Frame counter
} Time;
@@ -3495,10 +3495,10 @@ bool ChangeDirectory(const char *dir)
// Check if a given path point to a file
bool IsPathFile(const char *path)
{
- struct stat pathStat = { 0 };
- stat(path, &pathStat);
+ struct stat result = { 0 };
+ stat(path, &result);
- return S_ISREG(pathStat.st_mode);
+ return S_ISREG(result.st_mode);
}
// Check if a file has been dropped into window