On the small-scale structure of solar magnetic fields