Fix comparison between pointer and char literal

PR:		misc/204252
Reported by:	David Binderman <dcb314@hotmail.com>
MFC after:	3 days
X-MFC-to:	stable/11, stable/10
This commit is contained in:
Devin Teske 2018-06-16 20:00:41 +00:00
parent 46d30d3d9c
commit a0d7de3b11

View File

@ -89,7 +89,7 @@ spin_char(void)
{ {
char ch; char ch;
if (spin_cp == '\0') if (*spin_cp == '\0')
spin_cp = spin; spin_cp = spin;
ch = *spin_cp; ch = *spin_cp;