aboutsummaryrefslogtreecommitdiff
blob: 47b30834b9f6abf20dec0d4ab8a36c97e71b341b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
changeset:   158:2db1dbb75557
user:        John Donoghue
date:        Thu Jan 09 16:38:52 2020 -0500
summary:     * inst/base64encode.m: dont use depreciated toascii

--- a/inst/base64encode.m
+++ b/inst/base64encode.m
@@ -46,7 +46,7 @@
   endif
   
   if (ischar (X))
-    X = toascii (X);
+    X = double (X);
   endif
   
   if (any (X != fix (X)) || any (X < 0 | X > 255))