Changed u_int to unsigned