Changeset 576

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

o All of them this time?!

Files:

Legend:

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

    r575 r576  
    6767    sstr( const sstr< i > &src ) 
    6868        {  
    69                 strncpy( val, (const char*)src, min( n - 1, i ) ); 
     69                strncpy( val, (const char*)src, ::x42::math::min< size_t >( n - 1, i ) ); 
    7070                val[ n - 1 ] = '\0'; 
    7171        }