mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
correct format long long unsigned int on 32bits linux
This commit is contained in:
parent
f99c461fed
commit
890379d8f1
@ -41,7 +41,7 @@ static struct scidsat *load_csv_file(FILE *scidf)
|
||||
if (r != 2 || strcmp(title, "scid") != 0 || strcmp(&title[6], "satoshis") != 0)
|
||||
err(1, "reading 'scid ,satoshis' from csv failed");
|
||||
|
||||
while(fscanf(scidf, "%s ,%ld\n", str, &scidsats[i].sat.satoshis) == 2 ) { /* Raw: read from file */
|
||||
while(fscanf(scidf, "%s ,%"SCNu64"\n", str, &scidsats[i].sat.satoshis) == 2 ) { /* Raw: read from file */
|
||||
if (!short_channel_id_from_str(str, strlen(str), &scidsats[i].scid, 0))
|
||||
err(1, "failed to make scid struct");
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user