This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9972 for ps


Ignore:
Timestamp:
08/06/11 14:31:48 (13 years ago)
Author:
philip
Message:

Fix signed/unsigned comparison warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/lib/res/h_mgr.cpp

    r9961 r9972  
    192192    // we might be allocating a new entry. subsequent tag checks protect
    193193    // against using unallocated entries.
    194     if(size_t(idx) >= hdata_cap)    // also detects negative idx
     194    if(size_t(idx) >= size_t(hdata_cap))    // also detects negative idx
    195195        WARN_RETURN(ERR::H_IDX_INVALID);
    196196
Note: See TracChangeset for help on using the changeset viewer.