File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ uint64_t myshell_hash64(const char *str) {
198198 }
199199
200200 switch (len & 7 ) {
201- case 7 : hash ^= (uint64_t )data [6 ] << 48 ;
202- case 6 : hash ^= (uint64_t )data [5 ] << 40 ;
203- case 5 : hash ^= (uint64_t )data [4 ] << 32 ;
204- case 4 : hash ^= (uint64_t )data [3 ] << 24 ;
205- case 3 : hash ^= (uint64_t )data [2 ] << 16 ;
206- case 2 : hash ^= (uint64_t )data [1 ] << 8 ;
201+ case 7 : hash ^= (uint64_t )data [6 ] << 48 ; /* fall through */
202+ case 6 : hash ^= (uint64_t )data [5 ] << 40 ; /* fall through */
203+ case 5 : hash ^= (uint64_t )data [4 ] << 32 ; /* fall through */
204+ case 4 : hash ^= (uint64_t )data [3 ] << 24 ; /* fall through */
205+ case 3 : hash ^= (uint64_t )data [2 ] << 16 ; /* fall through */
206+ case 2 : hash ^= (uint64_t )data [1 ] << 8 ; /* fall through */
207207 case 1 : hash ^= (uint64_t )data [0 ];
208208 hash *= m ;
209209 }
You can’t perform that action at this time.
0 commit comments