]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/qsort.c
Bug #11 - memswp() in qsort() not type correct. Fixed.
[pdclib] / functions / stdlib / qsort.c
index d12776993988278b304d625a8f0b604f0b4c988d..084cd3ca4cf07675cca839812a5e4526283550da 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 /* Wrapper for _PDCLIB_memswp protects against multiple argument evaluation. */
-static inline void memswp( char * i, char * j, unsigned int size )
+static inline void memswp( char * i, char * j, size_t size )
 {
     _PDCLIB_memswp( i, j, size );
 }