Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37839325
en ru br
ALT Linux repos
S:4.19.0-alt3
5.0: 1.7-alt2
4.1: 1.1-alt1
4.0: 1.1-alt1
3.0: 0.2.13-alt1

Group :: System/Libraries
RPM: libtasn1

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix-for-werror.patch
Download


diff --git a/tests/Test_overflow.c b/tests/Test_overflow.c
index b276b6d..8cfe098 100644
--- a/tests/Test_overflow.c
+++ b/tests/Test_overflow.c
@@ -60,7 +60,7 @@ main (int argc, char **argv)
      rejected.  This limitation was introduced with libtasn1 2.12. */
   if (LONG_MAX > INT_MAX)
     {
-      unsigned long num = ((long) UINT_MAX) << 2;
+      unsigned long num = ((unsigned long) UINT_MAX) << 2;
       unsigned char der[20];
       int der_len;
       long l;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin