/*
* RGB2R-C128-Kassenprogramm
- * (c) 2007-2009 phil_fry, sECuRE, sur5r
+ * © 2007-2009 phil_fry, sECuRE, sur5r
* See LICENSE for license information
*
*/
#include "kasse.h"
#include "general.h"
#include "config.h"
+#include "print.h"
/* NOTE: undocumented function which scratches files
We need to use this function because linking unistd.h
if (log_num > 0) {
log_num--;
- sprintf(filename, "log-%d", log_num);
+ sprintf(filename, "log-%u", log_num);
if ((c = cbm_open(lfn, (BYTE)8, (BYTE)CBM_READ, filename)) != 0) {
c128_perror(c, "cbm_open(log) for reading");
exit(1);