ucx/hash_key.c

branch
dav-2
changeset 886
da79af4baec8
parent 852
83fdf679df99
child 889
42cdbf9bbd49
--- a/ucx/hash_key.c	Tue Sep 09 16:01:30 2025 +0200
+++ b/ucx/hash_key.c	Tue Sep 09 20:56:47 2025 +0200
@@ -62,14 +62,14 @@
     switch (len) {
         case 3:
             h ^= (data[i + 2] & 0xFF) << 16;
-                    __attribute__((__fallthrough__));
+            cx_attr_fallthrough;
         case 2:
             h ^= (data[i + 1] & 0xFF) << 8;
-                    __attribute__((__fallthrough__));
+            cx_attr_fallthrough;
         case 1:
             h ^= (data[i + 0] & 0xFF);
             h *= m;
-                    __attribute__((__fallthrough__));
+            cx_attr_fallthrough;
         default: // do nothing
             ;
     }

mercurial