Changeset 575

Show
Ignore:
Timestamp:
07/02/08 12:08:24 (5 months ago)
Author:
phill
Message:

o OOPS!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libx42pp/include/x42util-string.h

    r323 r575  
    104104        sstr< n >& operator = ( const sstr< i > &src ) 
    105105        {                        
    106                 strncpy( val, src.val, min( n - 1, i ) ); 
     106                strncpy( val, src.val, ::x42::math::min< size_t >( n - 1, i ) ); 
    107107                val[ n - 1 ] = '\0'; 
    108108