summaryrefslogtreecommitdiffstats
path: root/libvncserver/scale.h
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>2010-11-10 18:57:13 +0000
committerJohannes Schindelin <johannes.schindelin@gmx.de>2011-04-28 11:42:59 +0200
commit35246edddd952a6d83511f69cba47536495e4700 (patch)
treeea10ab42c5c059dc245b1061068d3de49263daa9 /libvncserver/scale.h
parentd8fca9d013a8da92499cb3889dd0f53d3b4e437f (diff)
downloadlibtdevnc-35246edddd952a6d83511f69cba47536495e4700.tar.gz
libtdevnc-35246edddd952a6d83511f69cba47536495e4700.zip
Fix compilation in c89 mode.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncserver/scale.h')
-rw-r--r--libvncserver/scale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/scale.h b/libvncserver/scale.h
index 13dd942..a030d4b 100644
--- a/libvncserver/scale.h
+++ b/libvncserver/scale.h
@@ -1,7 +1,7 @@
int ScaleX(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int x);
int ScaleY(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int y);
-void rfbScaledCorrection(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int *x, int *y, int *w, int *h, char *function);
+void rfbScaledCorrection(rfbScreenInfoPtr from, rfbScreenInfoPtr to, int *x, int *y, int *w, int *h, const char *function);
void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, int x0, int y0, int w0, int h0);
void rfbScaledScreenUpdate(rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2);
rfbScreenInfoPtr rfbScaledScreenAllocate(rfbClientPtr cl, int width, int height);