src/test/SDL_test_memory.c
changeset 12407 2a761b9ff83f
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/src/test/SDL_test_memory.c	Mon Nov 12 16:34:58 2018 -0800
     1.2 +++ b/src/test/SDL_test_memory.c	Mon Nov 12 16:42:49 2018 -0800
     1.3 @@ -109,7 +109,7 @@
     1.4              entry->stack[stack_index] = pc;
     1.5  
     1.6              if (unw_get_proc_name(&cursor, sym, sizeof(sym), &offset) == 0) {
     1.7 -                snprintf(entry->stack_names[stack_index], sizeof(entry->stack_names[stack_index]), "%s+0x%llx", sym, offset);
     1.8 +                snprintf(entry->stack_names[stack_index], sizeof(entry->stack_names[stack_index]), "%s+0x%llx", sym, (unsigned long long)offset);
     1.9              }
    1.10              ++stack_index;
    1.11