Skip to content

Commit

Permalink
phazor: Use while(true) not while(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Dec 30, 2024
1 parent 9da6224 commit b098fbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/phazor/phazor.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ int wave_open(char *filename) {
return 1;
}

while (1) {
while (true) {

// Read data block label
wave_error = fread(b, 4, 1, wave_file);
Expand Down Expand Up @@ -654,7 +654,7 @@ int wave_open(char *filename) {
wave_depth = i;
fseek(wave_file, wave_start + wave_size, SEEK_SET);

while (1) {
while (true) {
// Read data block label
wave_error = fread(b, 4, 1, wave_file);
if (wave_error != 1) {
Expand Down Expand Up @@ -2429,7 +2429,7 @@ void *main_loop(void *thread_id) {
#endif
//int test1 = 0;
// Main loop ---------------------------------------------------------------
while (1) {
while (true) {

// test1++;
// if (test1 > 650) {
Expand Down

0 comments on commit b098fbd

Please sign in to comment.