Apply more correct qualifier to initializer of locale var.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Nov 2007 22:46:55 +0000 (22:46 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Nov 2007 22:46:55 +0000 (22:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8025 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_cstore.c

index c202424..486c0b6 100644 (file)
@@ -1595,7 +1595,7 @@ char* SELECT (
                /* OFFSET   */ jsonObject* offset,
                /* flags    */ int flags
 ) {
-       char* locale = osrf_message_get_last_locale();
+       const char* locale = osrf_message_get_last_locale();
 
        // in case we don't get a select list
        jsonObject* defaultselhash = NULL;
@@ -2055,7 +2055,7 @@ char* SELECT (
 
 char* buildSELECT ( jsonObject* search_hash, jsonObject* order_hash, osrfHash* meta, osrfMethodContext* ctx ) {
 
-       char* locale = osrf_message_get_last_locale();
+       const char* locale = osrf_message_get_last_locale();
 
        osrfHash* fields = osrfHashGet(meta, "fields");
        char* core_class = osrfHashGet(meta, "classname");