[Pcsclite-cvs-commit] CVS PCSC/src
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 13 Apr 2005 06:34:06 +0000
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv453
Modified Files:
debuglog.c
Log Message:
use "signed char" instead of "char" for LogDoColor since we use the value -1
and on some platforms (like PowerPC) char is unsigned bu default.
--- /cvsroot/pcsclite/PCSC/src/debuglog.c 2005/04/12 12:09:05 1.41
+++ /cvsroot/pcsclite/PCSC/src/debuglog.c 2005/04/13 06:34:05 1.42
@@ -6,7 +6,7 @@
* Copyright (C) 1999-2005
* Ludovic Rousseau <ludovic.rousseau@free.fr>
*
- * $Id: debuglog.c,v 1.41 2005/04/12 12:09:05 rousseau Exp $
+ * $Id: debuglog.c,v 1.42 2005/04/13 06:34:05 rousseau Exp $
*/
/**
@@ -45,7 +45,7 @@
/* default level is a bit verbose to be backward compatible */
static char LogLevel = PCSC_LOG_INFO;
-static char LogDoColor = -1; /* not initialised */
+static signed char LogDoColor = -1; /* not initialised */
void log_msg(const int priority, const char *fmt, ...)
{