Fixed for const/volatile void type.

Thanks to Tasiro for reporting.