• Cory Quammen's avatar
    Fix -Wstringop-truncation warning · 59e088b7
    Cory Quammen authored
    'char* strncpy(char*, const char*, size_t)' output may be truncated copying
    2 bytes from a string of length 7 [-Wstringop-truncation]
             strncpy(elem, dum1, 2);
             ~~~~~~~^~~~~~~~~~~~~~~
    59e088b7