From 110b322903fb9af94051aa130accf4caa6e7d026 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 18 Jul 2000 22:32:50 +0000 Subject: [PATCH] Fix some gcc warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@167 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/condasm.c | 2 +- src/ca65/pseudo.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca65/condasm.c b/src/ca65/condasm.c index 5b699e574..82b738c44 100644 --- a/src/ca65/condasm.c +++ b/src/ca65/condasm.c @@ -379,7 +379,7 @@ void DoConditionals (void) break; default: - // Skip tokens + /* Skip tokens */ NextTok (); } diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index f41a3968b..7dd9c19e1 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -263,7 +263,7 @@ static void DoASCIIZ (void) ErrorSkip (ERR_STRCON_EXPECTED); return; } - EmitData (SVal, strlen (SVal)); + EmitData ((unsigned char*) SVal, strlen (SVal)); NextTok (); if (Tok == TOK_COMMA) { NextTok (); @@ -298,7 +298,7 @@ static void DoByte (void) while (1) { if (Tok == TOK_STRCON) { /* A string */ - EmitData (SVal, strlen (SVal)); + EmitData ((unsigned char*) SVal, strlen (SVal)); NextTok (); } else { EmitByte (Expression ()); -- 2.39.5