Apply various cleanups via Android Studio

This commit is contained in:
Anders Jenbo 2021-07-04 03:04:01 +02:00
commit 4eabc6024b
26 changed files with 107 additions and 119 deletions

View file

@ -3,6 +3,7 @@
*
* Implementation of the screenshot function.
*/
#include <cstdint>
#include <fstream>
#include "DiabloUI/diabloui.h"
@ -23,7 +24,7 @@ namespace devilution {
* @param out File stream to write to
* @return True on success
*/
static bool CaptureHdr(short width, short height, std::ofstream *out)
static bool CaptureHdr(int16_t width, int16_t height, std::ofstream *out)
{
PCXHeader buffer;