touched up code a little bit

This commit is contained in:
2009-08-29 05:58:05 +00:00
parent 2ba054c1a3
commit 9c872e932a
3 changed files with 16 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.c 267 2009-08-25 09:50:07Z hyunghwan.chung $
* $Id: awk.c 273 2009-08-28 11:58:05Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -81,7 +81,7 @@ static void dprint (const qse_char_t* fmt, ...)
{
va_list ap;
va_start (ap, fmt);
qse_vfprintf (stderr, fmt, ap);
qse_vfprintf (QSE_STDERR, fmt, ap);
va_end (ap);
}
}
@ -771,7 +771,9 @@ static int awk_main (int argc, qse_char_t* argv[])
rcb.udd = &arg;
#endif
rtx = qse_awk_rtx_openstd (awk, 0, QSE_T("qseawk"), arg.icf, QSE_NULL);
rtx = qse_awk_rtx_openstd (
awk, 0, QSE_T("qseawk"),
(const qse_char_t*const*)arg.icf, QSE_NULL);
if (rtx == QSE_NULL)
{
print_awkerr (awk);