Mercurial > hg > early-roguelike
view srogue/bob.h @ 113:aa582a02eb5d
srogue: remove unnecessary pointer cast.
Casting char* to int before a comparison doesn't alter the result, and
isn't safe if sizeof(char *) != sizeof(int).
author | John "Elwin" Edwards |
---|---|
date | Thu, 27 Mar 2014 11:09:30 -0700 |
parents | 2128c7dc8a40 |
children |
line wrap: on
line source
/* * Super-Rogue * Copyright (C) 1984 Robert D. Kindelberger * All rights reserved. * * See the file LICENSE.TXT for full copyright and licensing information. */ #include <sgtty.h> typedef struct sgttyb SGTTY; static SGTTY _tty, _res_flg;