Why subtract address "coins" from int lb? - Money Change Problem, Algorithms STL

int lb = lower_bound(coins, coins+n, money, compare) - coins - 1;

Why was “coins” base address subtracted from an integer lb, when “coins” will give you a non-int address?