--- rxvt-unicode/src/simplevec.h 2003/11/25 11:52:42 1.2 +++ rxvt-unicode/src/simplevec.h 2004/01/31 00:20:21 1.3 @@ -78,7 +78,7 @@ if (_last + n <= _size) { memmove (where+n, where, (end()-where)*sizeof(T)); } else { - long sz = _last+n; + size_type sz = _last+n; sz = (_size == 0) ? max(sz, 5) : max(sz, 2*_size); T *nbuf = alloc (sz); if (_buf) {