diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2024-04-01 17:58:04 +0800 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2024-04-01 17:58:04 +0800 |
commit | 3af419ed0f0bf23320f8a7ac3479e2c50c353cde (patch) | |
tree | fa45f6aee9812f8684ca888823c89cdcc89e6ddb /src/haiku_select.cc | |
parent | 101801ca13632ae17b486f690701b9cb36868676 (diff) | |
parent | 87be53846bfbf5a6387cb5a40105bd0fc5b48b38 (diff) | |
download | emacs-3af419ed0f0bf23320f8a7ac3479e2c50c353cde.tar.gz |
Merge upstream Git snapshot into athena/unstable
Diffstat (limited to 'src/haiku_select.cc')
-rw-r--r-- | src/haiku_select.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/haiku_select.cc b/src/haiku_select.cc index 02f3272514f..f497eb3d24b 100644 --- a/src/haiku_select.cc +++ b/src/haiku_select.cc @@ -18,6 +18,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include <config.h> #include <intprops.h> +#include <stdckdint.h> #include <Application.h> #include <Bitmap.h> @@ -619,8 +620,7 @@ be_display_notification (const char *title, const char *body, /* SUPERSEDES hasn't been provided, so allocate a new notification ID. */ - INT_ADD_WRAPV (last_notification_id, 1, - &last_notification_id); + ckd_add (&last_notification_id, last_notification_id, 1); id = last_notification_id; } else |