File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ static void remove_chan_from_node(struct routing_state *rstate,
493493/* We make sure that free_chan is called on this chan! */
494494static void destroy_chan_check (struct chan * chan )
495495{
496- assert (chan -> sat .satoshis == (u64 )chan ); /* Raw: dev-hack */
496+ assert (chan -> sat .satoshis == (unsigned long )chan ); /* Raw: dev-hack */
497497}
498498#endif
499499
@@ -507,7 +507,7 @@ void free_chan(struct routing_state *rstate, struct chan *chan)
507507 uintmap_del (& rstate -> chanmap , chan -> scid .u64 );
508508
509509#if DEVELOPER
510- chan -> sat .satoshis = (u64 )chan ; /* Raw: dev-hack */
510+ chan -> sat .satoshis = (unsigned long )chan ; /* Raw: dev-hack */
511511#endif
512512 tal_free (chan );
513513}
@@ -2979,7 +2979,7 @@ void remove_all_gossip(struct routing_state *rstate)
29792979 while ((c = uintmap_first (& rstate -> chanmap , & index )) != NULL ) {
29802980 uintmap_del (& rstate -> chanmap , index );
29812981#if DEVELOPER
2982- c -> sat .satoshis = (u64 )c ; /* Raw: dev-hack */
2982+ c -> sat .satoshis = (unsigned long )c ; /* Raw: dev-hack */
29832983#endif
29842984 tal_free (c );
29852985 }
You can’t perform that action at this time.
0 commit comments