diff -r 6d49b04727a6afaafa6b9d173aa05d6fcafcc022 -r 6e47101f975da906be39a5f07d6ad8622682fcaa src/pvariant.cxx --- a/src/pvariant.cxx Fri May 10 00:45:48 2013 -0500 +++ b/src/pvariant.cxx Fri May 10 22:36:44 2013 -0500 @@ -25,7 +25,7 @@ struct _varitem { - variant key; + string key; variant var; _varitem(const string& ikey, const variant& ivar): key(ikey), var(ivar) {} @@ -94,9 +94,9 @@ int _varray::compare(const void* key, const void* item) const { if (config.casesens) - return strcmp(pconst(key), (string)pvaritem(item)->key); + return strcmp(pconst(key), pvaritem(item)->key); else - return strcasecmp(pconst(key), (string)pvaritem(item)->key); + return strcasecmp(pconst(key), pvaritem(item)->key); }