Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
rasky
libvncserver
Commits
422491c9
Commit
422491c9
authored
May 02, 2006
by
steven_carr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
signed vs unsigned warnings eliminated (gcc 4.0.1)
parent
188ccd2e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
hextile.c
libvncclient/hextile.c
+1
-1
tight.c
libvncclient/tight.c
+3
-3
zlib.c
libvncclient/zlib.c
+1
-1
No files found.
libvncclient/hextile.c
View file @
422491c9
...
...
@@ -55,7 +55,7 @@ HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if
(
!
ReadFromRFBServer
(
client
,
client
->
buffer
,
w
*
h
*
(
BPP
/
8
)))
return
FALSE
;
CopyRectangle
(
client
,
client
->
buffer
,
x
,
y
,
w
,
h
);
CopyRectangle
(
client
,
(
uint8_t
*
)
client
->
buffer
,
x
,
y
,
w
,
h
);
continue
;
}
...
...
libvncclient/tight.c
View file @
422491c9
...
...
@@ -198,7 +198,7 @@ HandleTightBPP (rfbClient* client, int rx, int ry, int rw, int rh)
buffer2
=
&
client
->
buffer
[
TIGHT_MIN_TO_COMPRESS
*
4
];
filterFn
(
client
,
rh
,
(
CARDBPP
*
)
buffer2
);
CopyRectangle
(
client
,
buffer2
,
rx
,
ry
,
rw
,
rh
);
CopyRectangle
(
client
,
(
uint8_t
*
)
buffer2
,
rx
,
ry
,
rw
,
rh
);
return
TRUE
;
}
...
...
@@ -277,7 +277,7 @@ HandleTightBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if
(
extraBytes
>
0
)
memcpy
(
client
->
buffer
,
&
client
->
buffer
[
numRows
*
rowSize
],
extraBytes
);
CopyRectangle
(
client
,
buffer2
,
rx
,
ry
+
rowsProcessed
,
rw
,
numRows
);
CopyRectangle
(
client
,
(
uint8_t
*
)
buffer2
,
rx
,
ry
+
rowsProcessed
,
rw
,
numRows
);
rowsProcessed
+=
numRows
;
}
...
...
@@ -577,7 +577,7 @@ DecompressJpegRectBPP(rfbClient* client, int x, int y, int w, int h)
*
pixelPtr
++
=
RGB24_TO_PIXEL
(
BPP
,
client
->
buffer
[
dx
*
3
],
client
->
buffer
[
dx
*
3
+
1
],
client
->
buffer
[
dx
*
3
+
2
]);
}
CopyRectangle
(
client
,
&
client
->
buffer
[
RFB_BUFFER_SIZE
/
2
],
x
,
y
+
dy
,
w
,
1
);
CopyRectangle
(
client
,
(
uint8_t
*
)
&
client
->
buffer
[
RFB_BUFFER_SIZE
/
2
],
x
,
y
+
dy
,
w
,
1
);
dy
++
;
}
...
...
libvncclient/zlib.c
View file @
422491c9
...
...
@@ -142,7 +142,7 @@ HandleZlibBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if
(
inflateResult
==
Z_OK
)
{
/* Put the uncompressed contents of the update on the screen. */
CopyRectangle
(
client
,
client
->
raw_buffer
,
rx
,
ry
,
rw
,
rh
);
CopyRectangle
(
client
,
(
uint8_t
*
)
client
->
raw_buffer
,
rx
,
ry
,
rw
,
rh
);
}
else
{
...
...
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