From: Antony Dovgal Date: Mon, 18 Aug 2008 14:34:32 +0000 (+0000) Subject: these are not bits, but bytes.. X-Git-Tag: BEFORE_HEAD_NS_CHANGE~658 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=573f4043bf2bf44c94d8aaf05c3f40542ca4d74c;p=php these are not bits, but bytes.. --- 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