Use type int instead of type short

This commit is contained in:
ridiculousfish 2014-02-05 19:28:12 -08:00
parent fd10844c2b
commit e2388344b2

View file

@ -270,7 +270,7 @@ exchange(wchar_t **argv)
{
/* Bottom segment is the short one. */
int len = middle - bottom;
short i;
int i;
/* Swap it with the top part of the top segment. */
for (i = 0; i < len; i++)
@ -286,7 +286,7 @@ exchange(wchar_t **argv)
{
/* Top segment is the short one. */
int len = top - middle;
short i;
int i;
/* Swap it with the bottom part of the bottom segment. */
for (i = 0; i < len; i++)