diff --git a/camlibs/polaroid/pdc640.c b/camlibs/polaroid/pdc640.c index 6b3c5bbb9..7e01202a0 100644 --- a/camlibs/polaroid/pdc640.c +++ b/camlibs/polaroid/pdc640.c @@ -385,9 +385,9 @@ pdc640_unknown20 (GPPort* port) static int pdc640_caminfo (GPPort *port, int *numpic) { - char buf[1536]; + char buf[1280]; - CHECK_RESULT (pdc640_transmit_packet (port, 0x40, buf, 1536)); + CHECK_RESULT (pdc640_transmit_packet (port, 0x40, buf, 1280)); *numpic = buf[2]; /* thats the only useful info :( */ return (GP_OK); }