diff options
author | Sverker Eriksson <[email protected]> | 2014-12-02 17:37:13 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-12-02 17:37:13 +0100 |
commit | b3e52c026ce4920e1a4e36ef98e5de94666e91ef (patch) | |
tree | acd32450496744ade5043d8b56cb32b5f3dae1c2 /erts/emulator/beam/erl_printf_term.c | |
parent | c0067390b80f015a0342284505543d099b9e20e6 (diff) | |
download | otp-b3e52c026ce4920e1a4e36ef98e5de94666e91ef.tar.gz otp-b3e52c026ce4920e1a4e36ef98e5de94666e91ef.tar.bz2 otp-b3e52c026ce4920e1a4e36ef98e5de94666e91ef.zip |
erts: Add compile time assert ERTS_CT_ASSERT
and usage
Diffstat (limited to 'erts/emulator/beam/erl_printf_term.c')
-rw-r--r-- | erts/emulator/beam/erl_printf_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_printf_term.c b/erts/emulator/beam/erl_printf_term.c index 74e38c13df..c982dc2080 100644 --- a/erts/emulator/beam/erl_printf_term.c +++ b/erts/emulator/beam/erl_printf_term.c @@ -594,7 +594,7 @@ erts_printf_term(fmtfn_t fn, void* arg, ErlPfEterm term, long precision, ErlPfEterm* term_base) { int res; - ASSERT(sizeof(ErlPfEterm) == sizeof(Eterm)); + ERTS_CT_ASSERT(sizeof(ErlPfEterm) == sizeof(Eterm)); res = print_term(fn, arg, (Eterm)term, &precision, (Eterm*)term_base); if (res < 0) |