mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-23 03:05:13 +08:00
Use type int instead of type short
This commit is contained in:
parent
fd10844c2b
commit
e2388344b2
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user