Skip to content

Commit

Permalink
Fix example warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andressbarajas committed Nov 12, 2024
1 parent d117f5e commit 69088d4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/dreamcast/cpp/concurrency/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

TARGET = concurrency.elf
OBJS = concurrency.o
KOS_CPPFLAGS += -std=c++20
KOS_CPPFLAGS += -std=c++20 -Wno-dangling-pointer
KOS_GCCVER_MIN = 12.0.0

include $(KOS_BASE)/Makefile.rules
Expand Down
2 changes: 1 addition & 1 deletion examples/dreamcast/gldc/benchmarks/quadmark/quadmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void stats(void) {
pvr_stats_t stats;

pvr_get_stats(&stats);
dbglog(DBG_DEBUG, "3D Stats: %ld VBLs, frame rate ~%f fps\n",
dbglog(DBG_DEBUG, "3D Stats: %d VBLs, frame rate ~%f fps\n",
stats.vbl_count, stats.frame_rate);
}

Expand Down
2 changes: 1 addition & 1 deletion examples/dreamcast/gldc/benchmarks/trimark/trimark.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void stats(void) {
pvr_stats_t stats;

pvr_get_stats(&stats);
dbglog(DBG_DEBUG, "3D Stats: %ld VBLs, frame rate ~%f fps\n",
dbglog(DBG_DEBUG, "3D Stats: %d VBLs, frame rate ~%f fps\n",
stats.vbl_count, stats.frame_rate);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void stats(void) {
pvr_stats_t stats;

pvr_get_stats(&stats);
dbglog(DBG_DEBUG, "3D Stats: %ld VBLs, frame rate ~%f fps\n",
dbglog(DBG_DEBUG, "3D Stats: %d VBLs, frame rate ~%f fps\n",
stats.vbl_count, stats.frame_rate);
}

Expand Down

0 comments on commit 69088d4

Please sign in to comment.