[dmd-internals] [D-Programming-Language/dmd] a08c11: Use (u)longlong instead of (u)intmax_t

GitHub noreply at github.com
Sun Oct 21 13:51:53 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: a08c11aa8b49110d06ab2329a55a8a31efa08a2b
      https://github.com/D-Programming-Language/dmd/commit/a08c11aa8b49110d06ab2329a55a8a31efa08a2b
  Author: Leandro Lucarella <luca at llucax.com.ar>
  Date:   2012-10-21 (Sun, 21 Oct 2012)

  Changed paths:
    M src/lexer.c

  Log Message:
  -----------
  Use (u)longlong instead of (u)intmax_t

Since VC doesn't support C99 (inttypes.h), using format specifiers for
(u)intmax_t is very tricky. This patch canges the cast to (u)longlong
instead, so we can safely use "%llu"/"%lld".


  Commit: ae9749bc164ecdade349260bc2203cf595eeaeb7
      https://github.com/D-Programming-Language/dmd/commit/ae9749bc164ecdade349260bc2203cf595eeaeb7
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-10-21 (Sun, 21 Oct 2012)

  Changed paths:
    M src/lexer.c

  Log Message:
  -----------
  Merge pull request #1172 from llucax/formatting

 Use (u)longlong instead of (u)intmax_t


Compare: https://github.com/D-Programming-Language/dmd/compare/c639d6248a08...ae9749bc164e


More information about the dmd-internals mailing list