diff --git a/source/bsp_local.h b/source/bsp_local.h index 28209e29d..9301308e4 100644 --- a/source/bsp_local.h +++ b/source/bsp_local.h @@ -20,6 +20,8 @@ #pragma once +#include + #include #include "bsp.h" diff --git a/source/g_doom.cc b/source/g_doom.cc index 732a70869..ab9acc916 100644 --- a/source/g_doom.cc +++ b/source/g_doom.cc @@ -1425,7 +1425,7 @@ bool Doom::game_interface_c::Start(const char *preset) } if (!ZIPF_OpenWrite(zip_filename)) { - ProgStatus("%s", _("Error (create PK3/ZIP)"), zip_filename.c_str()); + ProgStatus("%s", _("Error (create PK3/ZIP)")); return false; } } diff --git a/source/lib_tga.cc b/source/lib_tga.cc index 031b3f76c..1bce9dce9 100644 --- a/source/lib_tga.cc +++ b/source/lib_tga.cc @@ -118,7 +118,7 @@ tga_image_c *TGA_LoadImage(const char *path) if (targa_header.image_type != TGA_INDEXED && targa_header.image_type != TGA_INDEXED_RLE && targa_header.image_type != TGA_RGB && targa_header.image_type != TGA_RGB_RLE) { - FatalError("Bad tga file: type {} is not supported\n", targa_header.image_type); + FatalError("Bad tga file: type %d is not supported\n", targa_header.image_type); } int width = targa_header.width;