mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Use type int instead of type short
This commit is contained in:
parent
fd10844c2b
commit
e2388344b2
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue