From bac28c73ed4fa3298c163d23f2e3baa4e5513670 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 14 Apr 2011 11:25:31 +0200 Subject: [PATCH] starter_conn_t.id is an unsigned long. --- src/starter/starterstroke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c index f251667c7..7272b2530 100644 --- a/src/starter/starterstroke.c +++ b/src/starter/starterstroke.c @@ -118,7 +118,7 @@ static char* connection_name(starter_conn_t *conn) if (streq(conn->name, "%auto")) { - sprintf(buf, "conn_%ld", conn->id); + sprintf(buf, "conn_%lu", conn->id); return buf; } return conn->name;