Changeset 1586

Show
Ignore:
Timestamp:
03/02/08 17:56:11 (6 months ago)
Author:
till
Message:

nebula
- forgotten type casts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nebula/trunk/src/classify.c

    r1585 r1586  
    128128                                        Q_ULOCK(&clusterq->lock); 
    129129                                        Q_RLOCK(&clusterq->lock); 
    130                                         if (verbose) printf("    Cluster has now %u elements (threshold is %lu).\n", 
     130                                        if (verbose) printf("    Cluster has now %lu elements (threshold is %lu).\n", 
    131131                                                ((hash*)t->data)->cl->hq->size, ((hash*)t->data)->cl->threshold); 
    132132                                        break; 
     
    168168                                        hash_free(tmp_hash); 
    169169                                        free(qtail); 
    170                                 } else if (verbose) printf("    Cluster has now %u elements (threshold is %lu).\n", 
     170                                } else if (verbose) printf("    Cluster has now %lu elements (threshold is %lu).\n", 
    171171                                        ((hash*)t->data)->cl->hq->size, ((hash*)t->data)->cl->threshold); 
    172172                        } else { 
     
    236236        // check for signature generation criterion here 
    237237        if ((((hash*)t->data)->cl) && ((hash*)t->data)->cl->hq->size >= ((hash*)t->data)->cl->threshold) { 
    238                 printf("[=] Cluster size (%u) hit threshold (%lu), generating signature.\n", 
     238                printf("[=] Cluster size (%lu) hit threshold (%lu), generating signature.\n", 
    239239                        ((hash*)t->data)->cl->hq->size, ((hash*)t->data)->cl->threshold); 
    240240