src/thread/SDL_thread.c
changeset 7484 c6c4f8719af6
parent 7482 249d8ecbbb7d
child 7606 bb2aa25cca1c
equal deleted inserted replaced
7483:0eafcc0d161b 7484:c6c4f8719af6
    86 {
    86 {
    87     SDL_TLSData *storage;
    87     SDL_TLSData *storage;
    88 
    88 
    89     storage = SDL_SYS_GetTLSData();
    89     storage = SDL_SYS_GetTLSData();
    90     if (storage) {
    90     if (storage) {
    91         int i;
    91         unsigned int i;
    92         for (i = 0; i < storage->limit; ++i) {
    92         for (i = 0; i < storage->limit; ++i) {
    93             if (storage->array[i].destructor) {
    93             if (storage->array[i].destructor) {
    94                 storage->array[i].destructor(storage->array[i].data);
    94                 storage->array[i].destructor(storage->array[i].data);
    95             }
    95             }
    96         }
    96         }