Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
ebe1c2f2
Commit
ebe1c2f2
authored
Feb 15, 2018
by
Ulrich Sibiller
Committed by
Mihai Moldovan
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xi/getbmap.c: remove unnecessary cast
Was forgotten in
f6a1bda2
parent
8e188629
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
getbmap.c
nx-X11/programs/Xserver/Xi/getbmap.c
+1
-1
No files found.
nx-X11/programs/Xserver/Xi/getbmap.c
View file @
ebe1c2f2
...
@@ -118,7 +118,7 @@ ProcXGetDeviceButtonMapping(register ClientPtr client)
...
@@ -118,7 +118,7 @@ ProcXGetDeviceButtonMapping(register ClientPtr client)
rep
.
nElts
=
b
->
numButtons
;
rep
.
nElts
=
b
->
numButtons
;
rep
.
length
=
(
rep
.
nElts
+
(
4
-
1
))
/
4
;
rep
.
length
=
(
rep
.
nElts
+
(
4
-
1
))
/
4
;
WriteReplyToClient
(
client
,
sizeof
(
xGetDeviceButtonMappingReply
),
&
rep
);
WriteReplyToClient
(
client
,
sizeof
(
xGetDeviceButtonMappingReply
),
&
rep
);
WriteToClient
(
client
,
rep
.
nElts
,
(
char
*
)
&
b
->
map
[
1
]);
WriteToClient
(
client
,
rep
.
nElts
,
&
b
->
map
[
1
]);
return
Success
;
return
Success
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment