summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/patches/0004-assimp-Remove-register-keyword.patch
blob: a50248d7bc17e1c8f60684933addac35ffaf837b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur assimpGIT/contrib/unzip/crypt.h assimp/contrib/unzip/crypt.h
--- assimpGIT/contrib/unzip/crypt.h	2016-12-07 20:20:54.000000000 -0500
+++ assimp/contrib/unzip/crypt.h	2016-12-07 17:00:44.000000000 -0500
@@ -51,7 +51,7 @@
     (*(pkeys+1)) += (*(pkeys+0)) & 0xff;
     (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1;
     {
-      register int keyshift = (int)((*(pkeys+1)) >> 24);
+      int keyshift = (int)((*(pkeys+1)) >> 24);
       (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift);
     }
     return c;