sciapp / gr

GR framework: a graphics library for visualisation applications
Other
328 stars 55 forks source link

Use gks_strdup() instead of strdup() #123

Closed kou closed 4 years ago

kou commented 4 years ago

This suppress the following warning:

lib/grm/datatype/string_list.c: In function 'string_list_entry_copy':
lib/grm/datatype/string_list.c:23:9: warning: assignment to 'string_list_entry_t' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
   23 |   _copy = strdup(entry);
      |         ^
FlorianRhiem commented 4 years ago

Thank you, Kouhei!

I've merged this into develop as well.