U64_MAX -> UINT64_MAX

This commit is contained in:
fincs 2020-03-16 16:22:27 +01:00
parent d279271037
commit f82d955dfe
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60
2 changed files with 7 additions and 7 deletions

View File

@ -117,8 +117,8 @@ int main(int argc, char **argv)
if (kDown & KEY_PLUS) break; // break in order to return to hbmenu if (kDown & KEY_PLUS) break; // break in order to return to hbmenu
// Wait for audio capture and playback to finish. // Wait for audio capture and playback to finish.
audinWaitCaptureFinish(&released_in_buffer, &released_in_count, U64_MAX); audinWaitCaptureFinish(&released_in_buffer, &released_in_count, UINT64_MAX);
audoutWaitPlayFinish(&released_out_buffer, &released_out_count, U64_MAX); audoutWaitPlayFinish(&released_out_buffer, &released_out_count, UINT64_MAX);
// Copy the captured audio data into the playback buffer. // Copy the captured audio data into the playback buffer.
if ((released_in_buffer != NULL) && (released_out_buffer != NULL)) if ((released_in_buffer != NULL) && (released_out_buffer != NULL))

View File

@ -718,9 +718,9 @@ gears_idle(void)
static int frames = 0; static int frames = 0;
static double tRot0 = -1.0, tRate0 = -1.0; static double tRot0 = -1.0, tRate0 = -1.0;
double dt, t; double dt, t;
static u64 origTicks = U64_MAX; static u64 origTicks = UINT64_MAX;
if (origTicks == U64_MAX) if (origTicks == UINT64_MAX)
origTicks = armGetSystemTick(); origTicks = armGetSystemTick();
u64 ticksElapsed = armGetSystemTick() - origTicks; u64 ticksElapsed = armGetSystemTick() - origTicks;