This should be properly constified by typing it "const char *const" instead of "const char *". (The former make sure it's an unmodifiable pointer while the latter still allows the entries to be modified). This applies for other static strings too as far as I can tell.