• Jeff Garzik's avatar
    Prefer 'unsigned int' for loop index variables tested against ::size() · db7d3d8b
    Jeff Garzik authored
    C++ STL ::size() generally returns unsigned, which implies that "int idx"
    style of loop variable will generate a signed-vs-unsigned comparison warning
    when testing the loop exit condition "idx < blah.size()"
    
    Update areas of the bitcoin code where loop variables may be more properly and
    correctly defined as unsigned.
    db7d3d8b
wallet.cpp 49.1 KB