MAINT: C fixes

Two very minor patches.