[Libreoffice-commits] core.git: include/o3tl

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 26 17:24:55 UTC 2020


 include/o3tl/safeint.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2e93fb2ff592719dcfe4e073cfd1b1240692938e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Nov 26 08:05:02 2020 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Nov 26 18:24:09 2020 +0100

    Fix typo
    
    Change-Id: I6dbac66a590cf0cc388796bed918d68800a1537e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106652
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/include/o3tl/safeint.hxx b/include/o3tl/safeint.hxx
index a5c212244c7c..0ed36c910fa3 100644
--- a/include/o3tl/safeint.hxx
+++ b/include/o3tl/safeint.hxx
@@ -236,7 +236,7 @@ make_unsigned(T value)
 
 // An implicit conversion from T2 to T1, useful in places where an explicit conversion from T2 to
 // T1 is needed (e.g., in list initialization, if the implicit conversion would be narrowing) but
-// tools like -fsanitize=implict-conversion should still be able to detect truncation:
+// tools like -fsanitize=implicit-conversion should still be able to detect truncation:
 template<typename T1, typename T2> constexpr T1 narrowing(T2 value) { return value; }
 
 }


More information about the Libreoffice-commits mailing list