aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorJoey Pabalinas <joeypabalinas@gmail.com>2018-04-09 13:42:14 -1000
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-04-11 20:43:37 +0200
commit8d1fb16c9e5f1fd1b3e3b5b39daad85b28b875f7 (patch)
tree0ebc2820b518755c3b3b0e442a2c51c565aeed9c /validation
parent84c592a8186e4937f526dedcdcc6b650879cfead (diff)
downloadsparse-dev-8d1fb16c9e5f1fd1b3e3b5b39daad85b28b875f7.tar.gz
doc: copy-edit text related to applying sizeof to a _Bool
Clean up the grammar/capitalization of the -Wsizeof-bool sections and italicize the size (1) so that it is consistent with the surrounding text. CC: Al Viro <viro@ZenIV.linux.org.uk> CC: Christopher Li <sparse@chrisli.org> CC: Joey Pabalinas <joeypabalinas@gmail.com> CC: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
-rw-r--r--validation/sizeof-bool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/sizeof-bool.c b/validation/sizeof-bool.c
index 05e76a44..9f21d1c6 100644
--- a/validation/sizeof-bool.c
+++ b/validation/sizeof-bool.c
@@ -8,6 +8,6 @@ static int a(void)
* number of bytes
* check-command: sparse -Wsizeof-bool $file
* check-error-start
-sizeof-bool.c:3:16: warning: expression using sizeof bool
+sizeof-bool.c:3:16: warning: expression using sizeof _Bool
* check-error-end
*/