fixed compiler warning: deprecated conversion from string const to char * by changed char* to const char*
"hello" represents a const char *. Hence, if we point a char* at it, it may subsequently be altered, which is not allowed due to its const nature. Hence, the warning. However, we do not change the strings anyway, hence changing to const char *.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.