1234567891011 |
- --- gpsd-2.39.orig/sirfflash.c Wed Jan 28 21:53:47 2009
- +++ gpsd-2.39/sirfflash.c Tue Feb 16 21:33:16 2010
- @@ -193,7 +193,7 @@ sirfSetProto(int pfd, struct termios *term, unsigned i
-
- sirf[7] = sirf[6] = (unsigned char)proto;
- i = htonl(speed);
- - bcopy(&i, sirf+8, 4);
- + memcpy(sirf+8, &i, 4);
-
-
- (void)sirf_write(pfd, sirf);
|