aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-03-09 15:22:17 -0800
committerJosh Triplett <josh@freedesktop.org>2007-03-09 15:32:55 -0800
commitcef10da343e842f6b55f5a26d55aaec5b55bd184 (patch)
tree2a55ea9107c0cd8034a55684961a9bf455fe31a4 /expand.c
parentIntroduce keyword driven attribute parsing (diff)
downloadsparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.tar.gz
sparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.tar.bz2
sparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.zip
Fix typos in comments
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'expand.c')
-rw-r--r--expand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/expand.c b/expand.c
index 5fc0221..cd13c4d 100644
--- a/expand.c
+++ b/expand.c
@@ -103,7 +103,7 @@ Int:
oldmask = oldsignmask | (oldsignmask-1);
dropped = oldmask & ~mask;
- // Ok if the bits were (and still are) purely sign bits
+ // OK if the bits were (and still are) purely sign bits
if (value & dropped) {
if (!(value & oldsignmask) || !(value & signmask) || (value & dropped) != dropped)
warning(old->pos, "cast truncates bits from constant value (%llx becomes %llx)",
@@ -679,7 +679,7 @@ static int expand_preop(struct expression *expr)
case SPECIAL_INCREMENT:
case SPECIAL_DECREMENT:
/*
- * From a type evaluation standpoint the pre-ops are
+ * From a type evaluation standpoint the preops are
* the same as the postops
*/
return expand_postop(expr);