]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 32-bit Haiku build
authorPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 06:19:53 +0000 (06:19 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 06:19:53 +0000 (06:19 +0000)
* src/haiku_support.cc (MessageReceived): Fix type of
`old_what'.

src/haiku_support.cc

index 105da3969ff7cfdb90af756d9173067e60096ee9..5dfb25d6dd7be82b447b46e26a6311ced6b75638 100644 (file)
@@ -2989,7 +2989,7 @@ class EmacsFilePanelCallbackLooper : public BLooper
     BEntry entry;
     BPath path;
     entry_ref ref;
-    int old_what;
+    int32 old_what;
 
     if (msg->what == FILE_PANEL_SELECTION
        || ((msg->FindInt32 ("old_what", &old_what) == B_OK