forked from osmocom/wireshark
We don't use PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 internally in Wireshark, so don't encourage people to use them. Use G_GINT64_FORMAT + friends instead.
svn path=/trunk/; revision=29636
This commit is contained in:
parent
418699b85d
commit
49930eff58
|
@ -178,11 +178,6 @@ Wireshark that take format arguments, use G_GINT64_MODIFIER, for example:
|
|||
"Sequence Number: %" G_GINT64_MODIFIER "u",
|
||||
sequence_number);
|
||||
|
||||
When using standard C routines, such as printf and scanf, use
|
||||
PRId64, PRIu64, PRIx64, PRIX64, and PRIo64; for example:
|
||||
|
||||
printf("Sequence Number: %" PRIu64 "\n", sequence_number);
|
||||
|
||||
When specifying an integral constant that doesn't fit in 32 bits, don't
|
||||
use "LL" at the end of the constant - not all compilers use "LL" for
|
||||
that. Instead, put the constant in a call to the "G_GINT64_CONSTANT()"
|
||||
|
|
Loading…
Reference in New Issue