From 573f4043bf2bf44c94d8aaf05c3f40542ca4d74c Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 18 Aug 2008 14:34:32 +0000 Subject: [PATCH] these are not bits, but bytes.. --- README.PARAMETER_PARSING_API | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1