changed clonedev assignment according to const string
changed assignment to const char*
Merge pull request #650 from BytesGalore/fix_cast_const_string_to_char_pointer

changed clonedev assignment according to const string