diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:25:00 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:25:00 +0100 |
commit | db0fcf9142f9ee7035370f832036c873d4c87168 (patch) | |
tree | a4062cdf2158362a0a431eb1806719e9f0975cb1 /app/bin/cmisc.c | |
parent | ee016bcb70b5c380e03b5fd2c12b1baa504c3cc8 (diff) | |
parent | 09795a01ef859f072920de9df974d1b03b9ab9a4 (diff) |
Merge tag 'upstream/4.2.4a'
Upstream version 4.2.4a
Diffstat (limited to 'app/bin/cmisc.c')
-rw-r--r-- | app/bin/cmisc.c | 8 |
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; |