]> mj.ucw.cz Git - libucw.git/commitdiff
added missing type for a local variable
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Mon, 18 Dec 2006 12:23:14 +0000 (13:23 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Mon, 18 Dec 2006 12:23:14 +0000 (13:23 +0100)
lib/threads.c

index 0cb10d11aa7968aaecc700388b41cca39aa0fcf4..f5e828f313adecb9e9ef02ec368e841fcb90ac65 100644 (file)
@@ -34,7 +34,7 @@ ucwlib_threads_init(void)
 static int
 ucwlib_tid(void)
 {
-  static tid_counter;
+  static int tid_counter;
 
   ucwlib_lock();
   int tid = ++tid_counter;