Skip to content
  • Cory Quammen's avatar
    Fix -Wrestrict warning · 1ef41943
    Cory Quammen authored
    'char* strncpy(char*, const char*, size_t)' accessing 76 bytes at offsets 0 and 4
     overlaps 72 bytes at offset 4 [-Wrestrict]
    
    The warning is because strncpy was being used on overlapping buffers.
    1ef41943