[PATCH:xdm 2/2] Use appropriate format string.

Thomas Klausner wiz at NetBSD.org
Fri Jun 28 10:35:39 PDT 2013


Fixes clang warning:
format specifies type 'int' but the argument has type 'unsigned long'

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 greeter/greet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/greeter/greet.c b/greeter/greet.c
index 82e2c21..9b5cef4 100644
--- a/greeter/greet.c
+++ b/greeter/greet.c
@@ -194,7 +194,7 @@ GreetDone (
     LoginData	*data,
     int		status)
 {
-    Debug ("GreetDone: %s, (password is %d long)\n",
+    Debug ("GreetDone: %s, (password is %zu long)\n",
 	    data->name, strlen (data->passwd));
     switch (status) {
     case NOTIFY_OK:
-- 
1.8.3.1



More information about the xorg-devel mailing list