In this work, an operational matrix of fractional integration based on an adjustment of hat functions is used for solving a class of third-kind Volterra integral equations. We show that the application of this numerical technique reduces the problem to a linear system of equations that can be efficiently solved. Two examples are considered to demonstrate the accuracy and efficiency of the proposed method.