fast-dat-parser icon indicating copy to clipboard operation
fast-dat-parser copied to clipboard

32bit build errors

Open dcousens opened this issue 7 years ago • 1 comments

Ref https://github.com/bitcoinjs/fast-dat-parser/issues/16#issuecomment-421804547

dcousens avatar Sep 17 '18 04:09 dcousens

include/bitcoin.hpp:114:33: error: conversion to ‘size_t {aka unsigned int}’ from ‘long long unsigned int’ may alter its value [-Werror=conversion]

This is a bit harder without a cast... I suspect I will need to throw if size_t isn't enough for the variable integer. (although this is never likely to be an actual problem... 2**32 transactions is quite a lot!)

dcousens avatar Sep 26 '18 01:09 dcousens