From d7b4cdee7d41f7e810d4b9770388f216a486d16b Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Thu, 31 Jan 2002 22:32:40 +0000 Subject: [PATCH] No need for cast. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4052 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/ricoh/ricoh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/ricoh/ricoh.c b/camlibs/ricoh/ricoh.c index f9244653a..f26c58bec 100644 --- a/camlibs/ricoh/ricoh.c +++ b/camlibs/ricoh/ricoh.c @@ -109,7 +109,7 @@ ricoh_send (Camera *camera, GPContext *context, unsigned char cmd, if (data[i] == 0x10) break; } - CR (gp_port_write (camera->port, (char *) data + w, i - w + 1)); + CR (gp_port_write (camera->port, data + w, i - w + 1)); if (data[i] == 0x10) CR (gp_port_write (camera->port, "\x10", 1)); w = i + 1;