dtcalc: resolve 13 compiler warnings on 64 bit builds.

This commit is contained in:
Peter Howkins
2014-12-30 14:43:12 +00:00
parent 123d4ba8fc
commit 2fc7807ee5
3 changed files with 14 additions and 12 deletions

View File

@@ -154,9 +154,9 @@ void
HelpRequestCB(Widget widget, caddr_t client_data, caddr_t call_data)
{
char *helpVolume, *locationId;
int topic;
intptr_t topic;
topic = ((int) client_data) & 0xFFFF;
topic = ((intptr_t) client_data) & 0xFFFF;
helpVolume = HELP_VOLUME;
if(topic < 56)