committer: mfx <mfx> 1043101129 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2003-01-20 22:18:49 +00:00
parent 0bd05c0d67
commit fc0d3ff118
2 changed files with 3 additions and 2 deletions

View File

@ -228,6 +228,7 @@ endif # linux
ifeq ($(target),linux-intelc70)
CC = icc
CXX = icpc
CCARCH += -march=i386 -mcpu=i686
CFLAGS_OUTPUT = -o $@
LINK_EXE_OUTPUT = -o $@

View File

@ -700,7 +700,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
dopr_outch (buffer, &currlen, maxlen, va_arg (args, int));
break;
case 's':
strvalue = va_arg (args, char *);
strvalue = va_arg (args, const char *);
if (!strvalue) strvalue = "(NULL)";
if (max == -1) {
max = strlen(strvalue);
@ -709,7 +709,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
fmtstr (buffer, &currlen, maxlen, strvalue, flags, min, max);
break;
case 'p':
strvalue = (const char *) va_arg (args, void *);
strvalue = (const char *) va_arg (args, const void *);
fmtint (buffer, &currlen, maxlen, (long) strvalue, 16, min, max, flags);
break;
case 'n':