Fixed warnings when compiled with debugging turned on.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18470 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-08-09 15:18:54 +00:00
parent 9c5a663602
commit deaaaa06f5
2 changed files with 8 additions and 4 deletions

View File

@ -8,12 +8,16 @@
* Marcus Overhagen (marcus@overhagen.de)
*/
#include <fs/devfs.h>
#include "ps2_dev.h"
#include "ps2_service.h"
ps2_dev ps2_device[PS2_DEVICE_COUNT] =
{
#include <fs/devfs.h>
#include <string.h>
ps2_dev ps2_device[PS2_DEVICE_COUNT] = {
{ .name = "input/mouse/ps2/0", .active = false, .idx = 0, .result_sem = -1 },
{ .name = "input/mouse/ps2/1", .active = false, .idx = 1, .result_sem = -1 },
{ .name = "input/mouse/ps2/2", .active = false, .idx = 2, .result_sem = -1 },

View File

@ -165,7 +165,7 @@ ps2_packet_to_movement(mouse_cookie *cookie, uint8 packet[], mouse_movement *pos
pos->wheel_ydelta = (int)wheel_ydelta;
pos->wheel_xdelta = (int)wheel_xdelta;
TRACE(("xdelta: %d, ydelta: %d, buttons %x, clicks: %ld, timestamp %Ld\n",
TRACE(("xdelta: %d, ydelta: %d, buttons %x, clicks: %d, timestamp %Ld\n",
xDelta, yDelta, buttons, cookie->click_count, currentTime));
}
}