starter_conn_t.id is an unsigned long.

This commit is contained in:
Tobias Brunner
2011-04-14 18:10:27 +02:00
parent e51cae33a9
commit bac28c73ed
+1 -1
View File
@@ -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;