summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bignum.c2
-rw-r--r--dln.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bignum.c b/bignum.c
index 133227390d..6b558287c3 100644
--- a/bignum.c
+++ b/bignum.c
@@ -290,7 +290,7 @@ rb_quad_pack(buf, val)
if (!RBIGNUM(val)->sign) {
len = QUAD_SIZE;
while (len--) {
- *buf = ‾*buf;
+ *buf = ~*buf;
buf++;
}
}
diff --git a/dln.c b/dln.c
index 1ad9a8ac45..ebad1e0091 100644
--- a/dln.c
+++ b/dln.c
@@ -1535,7 +1535,7 @@ dln_load(file)
if (p1 = strrchr(fname,'/'))
fname = p1 + 1;
if (p2 = strrchr(fname,'.'))
- *p2 = '¥0';
+ *p2 = '\0';
if ((handle = (void*)dlopen(fname, 0)) == NULL) {
goto failed;