Changeset 1288becf07a8f9fedbaf3880c9afdb9815878e12

Show
Ignore:
Timestamp:
07/02/11 18:23:02 (3 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
  • src/modules/rabbitmq_driver.c

    r9204e48 r1288bec  
    8484  pthread_mutex_lock(&driver_lock); 
    8585  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) { 
    8787      stats.thread_states[i].owner = pthread_self(); 
    8888      dr = &stats.thread_states[i];