Changeset 862 for releases

Show
Ignore:
Timestamp:
04/25/06 21:51:08 (3 years ago)
Author:
aj
Message:

use unsigned parameter.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • releases/openct-0.6.7/src/ct/status.c

    r844 r862  
    101101} 
    102102 
    103 ct_info_t *ct_status_alloc_slot(unsigned int *num) 
     103ct_info_t *ct_status_alloc_slot(int *num) 
    104104{ 
    105105        ct_info_t *info; 
     
    112112 
    113113        max = size / sizeof(ct_info_t); 
    114         if (*num == (unsigned int)-1) { 
     114        if (*num == -1) { 
    115115                sigset_t sigset; 
    116116