src/SDL_error.c
changeset 12642 8a70b87401c3
parent 12503 806492103856
child 13209 f872396dcc58
     1.1 --- a/src/SDL_error.c	Tue Mar 12 20:27:54 2019 -0400
     1.2 +++ b/src/SDL_error.c	Sat Mar 16 18:11:09 2019 -0700
     1.3 @@ -81,7 +81,7 @@
     1.4                  case 0:        /* Malformed format string.. */
     1.5                      --fmt;
     1.6                      break;
     1.7 -                case 'i': case 'd': case 'u':
     1.8 +                case 'i': case 'd': case 'u': case 'x': case 'X':
     1.9                      error->args[error->argc++].value_l = va_arg(ap, long);
    1.10                      break;
    1.11                  }
    1.12 @@ -234,7 +234,7 @@
    1.13                      *spot++ = *fmt++;
    1.14                      *spot++ = '\0';
    1.15                      switch (spot[-2]) {
    1.16 -                    case 'i': case 'd': case 'u':
    1.17 +                    case 'i': case 'd': case 'u': case 'x': case 'X':
    1.18                        len = SDL_snprintf(msg, maxlen, tmp,
    1.19                                           error->args[argi++].value_l);
    1.20                        if (len > 0) {