diff options
author | Antony Dovgal <tony2001@php.net> | 2008-08-18 14:34:32 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-08-18 14:34:32 +0000 |
commit | 573f4043bf2bf44c94d8aaf05c3f40542ca4d74c (patch) | |
tree | 904977c5106b1dffb8aa09ce8f59687d364c7407 /README.PARAMETER_PARSING_API | |
parent | be2f5ce9e75c06f15d877bcb26c2ece46e6f4a42 (diff) | |
download | php-git-573f4043bf2bf44c94d8aaf05c3f40542ca4d74c.tar.gz |
these are not bits, but bytes..
Diffstat (limited to 'README.PARAMETER_PARSING_API')
-rw-r--r-- | README.PARAMETER_PARSING_API | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API index c4d3452a9d..fdc43b3caf 100644 --- a/README.PARAMETER_PARSING_API +++ b/README.PARAMETER_PARSING_API @@ -82,7 +82,7 @@ Type specifiers Note on 64bit compatibility --------------------------- Please do not forget that int and long are two different things on 64bit -OSes (int is 4bit and long is 8bit), so make sure you pass longs to "l" +OSes (int is 4 bytes and long is 8 bytes), so make sure you pass longs to "l" and ints to strings length (i.e. for "s" you need to pass char * and int), not the other way round! Remember: "l" is the only case when you need to pass long (and that's why |