Closed bensmooth closed 3 years ago
I am no C wizard, but from debugging it I think that the casting we were doing was causing undefined behavior: labels = (const char *[]){ ... };
labels = (const char *[]){ ... };
So I just decided to avoid casting anything, and now I don't get a segfault on startup.
I am no C wizard, but from debugging it I think that the casting we were doing was causing undefined behavior:
labels = (const char *[]){ ... };
So I just decided to avoid casting anything, and now I don't get a segfault on startup.