Changeset 1288becf07a8f9fedbaf3880c9afdb9815878e12
- Timestamp:
- 07/02/11 18:23:02
(2 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1309630982 -0400
- git-parent:
[5079a1f4e83875fdd95077bb5fae8079eb8b4bd9]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1309630982 -0400
- Message:
solves: warning: comparison between pointer and integer
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9204e48 |
r1288bec |
|
| 84 | 84 | pthread_mutex_lock(&driver_lock); |
|---|
| 85 | 85 | for(i=0; i<MAX_HOSTS; i++) { |
|---|
| 86 | | if(stats.thread_states[i].owner == NULL) { |
|---|
| | 86 | if(stats.thread_states[i].owner == (pthread_t)NULL) { |
|---|
| 87 | 87 | stats.thread_states[i].owner = pthread_self(); |
|---|
| 88 | 88 | dr = &stats.thread_states[i]; |
|---|