diff --git a/examples/simple_example.c b/examples/simple_example.c index a64861346..ecb4c8f37 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;