Re: PATCH 1/2: Make gotoxy & siblings use unsigned variables

From: Andrew Morton
Date: Fri Jan 09 2004 - 16:32:37 EST


Nigel Cunningham <ncunningham@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> This patch makes console X and Y coordinates unsigned, rather than
> signed. Issues with wide (> 128 char?) consoles, seen when developing
> Software Suspend's 'nice display' are thus fixed. A brief examination of
> related code showed that this use of signed variables was the exception
> rather than the rule.

You'll probably find that all you needed to do was to convert the chars
over to unsigned, not the integers.

But whatever.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/