The quadratic equation $x^2-mx+24 = 10$ has roots $x_1$ and $x_2$. If $x_1$ and $x_2$ are integers, how many different values of $m$ are possible?