From d1ffaf09ce4d21a3828d6882bbdf34436f6f9354 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Wed, 23 Jun 2010 18:21:33 +0200 Subject: [PATCH] st400: fix sane_init() DBG() call wrt function pointer cast to void * --- backend/st400.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/st400.c b/backend/st400.c index 6801ffa9a..b8ee6d1a1 100644 --- a/backend/st400.c +++ b/backend/st400.c @@ -679,7 +679,7 @@ sane_init( SANE_Int *versionP, SANE_Auth_Callback authorize ) SANE_Status status; DBG_INIT(); - DBG(DCODE, "sane_init(%p, %p)\n", (void *) versionP, (void *) authorize); + DBG(DCODE, "sane_init: version %s null, authorize %s null\n", (versionP) ? "!=" : "==", (authorize) ? "!=" : "=="); if( versionP != NULL ) *versionP = SANE_VERSION_CODE(SANE_CURRENT_MAJOR, V_MINOR, 0);