summary refs log tree commit diff
path: root/crypto/src/util/Arrays.cs
diff options
context:
space:
mode:
authorKristian Rastrup <kristian@rastrup.net>2019-05-23 15:14:59 +0200
committerGitHub <noreply@github.com>2019-05-23 15:14:59 +0200
commitbb41367430d3b22de26d0db46376358b55a23f09 (patch)
treeecbc28e6207f70652438a7935e20188aedee1e60 /crypto/src/util/Arrays.cs
parentMerge branch 'rastrup-patch-5' (diff)
downloadBouncyCastle.NET-ed25519-bb41367430d3b22de26d0db46376358b55a23f09.tar.xz
Update Arrays.cs
Changed to string since char in StringBuilder constructor gets converted into int for capacity
Diffstat (limited to 'crypto/src/util/Arrays.cs')
-rw-r--r--crypto/src/util/Arrays.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/util/Arrays.cs b/crypto/src/util/Arrays.cs
index 4a8c65e88..aa8d31df4 100644
--- a/crypto/src/util/Arrays.cs
+++ b/crypto/src/util/Arrays.cs
@@ -203,7 +203,7 @@ namespace Org.BouncyCastle.Utilities
         public static string ToString(
             object[] a)
         {
-            StringBuilder sb = new StringBuilder('[');
+            StringBuilder sb = new StringBuilder("[");
             if (a.Length > 0)
             {
                 sb.Append(a[0]);