Sami Kerola wrote: > > - if (MIN (INT_MAX, MIN (PTRDIFF_MAX, SIZE_MAX) / sizeof *sv) <= n) > + if (MIN (INT_MAX, MIN (PTRDIFF_MAX, SIZE_MAX) / sizeof *sv) <= > (size_t) n) > xalloc_die (); >
I would find it better to cast n to 'unsigned int' instead. Then the code does not need to make an assumption about the relative sizes of 'size_t' versus 'int'. Bruno
