Mercurial > hg > early-roguelike
comparison rogue3/potions.c @ 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 | 527e2150eaf0 |
children | e7862a021609 |
comparison
equal
deleted
inserted
replaced
112:ee250e3646fd | 113:aa582a02eb5d |
---|