[nemiver] Fix compilation issue in tests/ due to wrong type
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Fix compilation issue in tests/ due to wrong type
- Date: Tue, 8 Jul 2014 17:58:09 +0000 (UTC)
commit f05905e8a7a8d86d70f2cc8c6c65075fc275eb85
Author: Juan R. GarcĂa Blanco <juanrgar gmail com>
Date: Mon Dec 30 19:52:19 2013 +0100
Fix compilation issue in tests/ due to wrong type
* tests/threads.cc (thread_func): Type of unused
variable tid changed from int to pthread_t.
Signed-off-by: Dodji Seketeli <dodji seketeli org>
tests/threads.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/threads.cc b/tests/threads.cc
index ed035eb..ec0ca20 100644
--- a/tests/threads.cc
+++ b/tests/threads.cc
@@ -28,7 +28,7 @@ thread_func (void *arg)
{
assert (arg != 0);
thread_info *ti = static_cast<thread_info*> (arg);
- __attribute__((unused)) int tid = ti->tid;
+ __attribute__((unused)) pthread_t tid = ti->tid;
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]