summaryrefslogtreecommitdiff
path: root/app/bin/cmisc.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:24:50 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:24:50 +0100
commit09795a01ef859f072920de9df974d1b03b9ab9a4 (patch)
tree4d05907fc37f1bd781e506f5e196f7435aeec0ab /app/bin/cmisc.c
parent5b4163d8c76b03f0d31b09866aa4bd06b4d8d804 (diff)
New upstream version 4.2.4aupstream/4.2.4a
Diffstat (limited to 'app/bin/cmisc.c')
-rw-r--r--app/bin/cmisc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/bin/cmisc.c b/app/bin/cmisc.c
index fe8beea..bb6e700 100644
--- a/app/bin/cmisc.c
+++ b/app/bin/cmisc.c
@@ -1,7 +1,5 @@
/** \file cmisc.c
- * Handlimg of the 'Describe' dialog
- *
- * $Header: /home/dmarkle/xtrkcad-fork-cvs/xtrkcad/app/bin/cmisc.c,v 1.7 2009-07-08 18:40:27 m_fischer Exp $
+ * Handling of the 'Describe' dialog
*/
/* XTrkCad - Model Railroad CAD
@@ -337,12 +335,12 @@ void DoDescribe( char * title, track_p trk, descData_p data, descUpdate_t update
wControlActive( ddp->control1, ((ddp->mode|ro_mode)&DESC_RO)==0 );
break;
case DESC_LAYER:
- wListClear(ddp->control0); // Rebuild list on each invovation
+ wListClear((wList_p)ddp->control0); // Rebuild list on each invovation
for ( inx = 0; inx<NUM_LAYERS; inx++ ) {
if (!GetLayerFrozen(inx)) // Avoid Frozen layers.
{
sprintf( message, "%2d : %s", inx+1, GetLayerName(inx) );
- wListAddValue( ddp->control0, message, NULL, (void*)inx );
+ wListAddValue( (wList_p)ddp->control0, message, NULL, (void*)(intptr_t)inx );
}
}
break;