#include <time.h>
#include <sys/stat.h>
-#include "../common/xmalloc.h"
-
+/* common */
+#include "xmalloc.h"
+
+/* ld65 */
#include "dbgsyms.h"
#include "error.h"
#include "exports.h"
{
unsigned I;
- O->FileCount = Read8 (F);
+ O->FileCount = Read16 (F);
O->Files = xmalloc (O->FileCount * sizeof (char*));
for (I = 0; I < O->FileCount; ++I) {
/* Skip MTime and size */
printf (" Files:\n");
/* Read the number of files and print it */
- Count = Read8 (F);
+ Count = Read16 (F);
printf (" Count:%27u\n", Count);
/* Read and print all files */