Mercurial > hg > early-roguelike
view srogue/rdk.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. */ extern bool My_term, /* user specied terminal */ extern int _tty_ch; /* channel with tty on it */