diff options
author | Cristian Greco <[email protected]> | 2011-02-25 23:51:16 +0100 |
---|---|---|
committer | Cristian Greco <[email protected]> | 2011-02-25 23:51:16 +0100 |
commit | 6228f215f1a99ab282688516d3d577295fa8ef5a (patch) | |
tree | a0a263fc16e05c4051082a871397feda5e687edc /lib/percept | |
parent | 49d0e593698955e96fb6cf82473bd88cb2103bb4 (diff) | |
download | otp-6228f215f1a99ab282688516d3d577295fa8ef5a.tar.gz otp-6228f215f1a99ab282688516d3d577295fa8ef5a.tar.bz2 otp-6228f215f1a99ab282688516d3d577295fa8ef5a.zip |
Fix using sizeof() for array given as function argument
When using the sizeof() operator for an array given as function argument it
returns the size of the pointer.
In this case, the affected function hex(char digest[16], char buff[33]) will
just print 4 or 8 byte instead of the full length of 16 bytes, on 32bit and
64bit systems respectively.
Diffstat (limited to 'lib/percept')
0 files changed, 0 insertions, 0 deletions