diff --git a/examples/simple_example.c b/examples/simple_example.c index a648613468..ecb4c8f373 100644 --- a/examples/simple_example.c +++ b/examples/simple_example.c @@ -6,7 +6,7 @@ #include // sysconf() - get CPU count -char DBPath[] = "/tmp/rocksdb_simple_example"; +const char DBPath[] = "/tmp/rocksdb_simple_example"; int main (int argc, char **argv) { rocksdb_t *db;