Mercurial > vim
comparison src/version.c @ 28968:3043a3e2ef95 v8.2.5006
patch 8.2.5006: asan warns for undefined behavior
Commit: https://github.com/vim/vim/commit/68e64d2c1735f2a39afa8a0475ae29bedb116684
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 22 22:07:52 2022 +0100
patch 8.2.5006: asan warns for undefined behavior
Problem: Asan warns for undefined behavior.
Solution: Cast the shifted value to unsigned.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 May 2022 23:15:03 +0200 |
parents | fc7070c42d23 |
children | 77cd4bf3ad7d |
comparison
equal
deleted
inserted
replaced
28967:13d66390ef26 | 28968:3043a3e2ef95 |
---|---|
732 NULL | 732 NULL |
733 }; | 733 }; |
734 | 734 |
735 static int included_patches[] = | 735 static int included_patches[] = |
736 { /* Add new patch number below this line */ | 736 { /* Add new patch number below this line */ |
737 /**/ | |
738 5006, | |
737 /**/ | 739 /**/ |
738 5005, | 740 5005, |
739 /**/ | 741 /**/ |
740 5004, | 742 5004, |
741 /**/ | 743 /**/ |