]> dgit.raspbian.org Git - git-annex.git/commitdiff
Command/Multicast: use proper hyphen
authorAtemu <atemu.main@gmail.com>
Tue, 4 May 2021 03:44:31 +0000 (05:44 +0200)
committerAtemu <atemu.main@gmail.com>
Tue, 4 May 2021 03:44:31 +0000 (05:44 +0200)
GHC was complaining about it possibly being a homoglyph:

Command/Multicast.hs:111:36: error:
     warning: treating Unicode character <U+2212> as identifier character rather than as '-' symbol [-Wunicode-homoglyph]
            -- using a nice prime, namely 2521−1  but the sheer size of this
                                              ^
    |
111 |         -- using a nice prime, namely 2521−1  but the sheer size of this
    |                                    ^
1 warning generated.

Command/Multicast.hs

index 8133e1e7266e844ca6b27210ffe50cba3bb0b4ed..7d059cc19417cdaab0fa5017d32831e7ed1a3012 100644 (file)
@@ -108,7 +108,7 @@ genAddress = starting "gen-address" (ActionItemOther Nothing) (SeekInput []) $ d
        -- Except for on Windows XP, secp521r1 is supported on all
        -- platforms by uftp. DJB thinks it's pretty good compared
        -- with other NIST curves: "there's one standard NIST curve
-       -- using a nice prime, namely 2521−1  but the sheer size of this
+       -- using a nice prime, namely 2521-1  but the sheer size of this
        -- prime makes it much slower than NIST P-256"
        -- (http://blog.cr.yp.to/20140323-ecdsa.html)
        -- Since this key is only used to set up the block encryption,