summaryrefslogtreecommitdiffstats
path: root/2/6.c
diff options
context:
space:
mode:
Diffstat (limited to '2/6.c')
-rw-r--r--2/6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/2/6.c b/2/6.c
index 7942588..6100cf7 100644
--- a/2/6.c
+++ b/2/6.c
@@ -28,7 +28,7 @@ unsigned setbits(unsigned x, int p, int n, unsigned y) {
// create mask for x
xUnset = (~0 << p) | ~(~0 << (p - n));
- // mask out n bits in x from p:
+ // mask out n bits in x from pth position:
xPrime = x & xUnset;
return xPrime | yLOA;