From eddeb67808aaac64b5ef090efac4af98d7b8c50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 2 Jul 2006 18:39:45 +0000 Subject: [PATCH] the data type is now consistent with the one used in input_server git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18007 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/InterfaceDefs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/InterfaceDefs.cpp b/src/kits/interface/InterfaceDefs.cpp index e8c08c0ac6..b027832d02 100644 --- a/src/kits/interface/InterfaceDefs.cpp +++ b/src/kits/interface/InterfaceDefs.cpp @@ -314,7 +314,7 @@ get_mouse_map(mouse_map *map) _control_input_server_(&command, &reply); - if (reply.FindData("mousemap", B_ANY_TYPE, &data, &count) != B_OK) + if (reply.FindData("mousemap", B_RAW_TYPE, &data, &count) != B_OK) return B_ERROR; memcpy(map, data, count); @@ -329,7 +329,7 @@ set_mouse_map(mouse_map *map) BMessage command(IS_SET_MOUSE_MAP); BMessage reply; - command.AddData("mousemap", B_ANY_TYPE, map, sizeof(mouse_map)); + command.AddData("mousemap", B_RAW_TYPE, map, sizeof(mouse_map)); return _control_input_server_(&command, &reply); }