diff options
author | Guido van Rossum <guido@python.org> | 1993-07-29 08:25:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-07-29 08:25:09 (GMT) |
commit | 1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe (patch) | |
tree | d6f70dd343ee9f7e22abb4bc8071514dd049c6be /Modules/imageop.c | |
parent | a3309960a50dbadfd854299e7420223eb8718a56 (diff) | |
download | cpython-1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe.zip cpython-1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe.tar.gz cpython-1fc238a813c0c3f5210cd39cf5c70d5f9b70fabe.tar.bz2 |
Minor fixes / changes for Mac compatibility.
Diffstat (limited to 'Modules/imageop.c')
-rw-r--r-- | Modules/imageop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/imageop.c b/Modules/imageop.c index 67aa9fc..40940cb 100644 --- a/Modules/imageop.c +++ b/Modules/imageop.c @@ -156,7 +156,7 @@ imageop_tovideo(self, args) ncp = (unsigned char *)getstringvalue(rv); if ( width == 1 ) { - bcopy(cp, ncp, maxx); /* Copy first line */ + memcpy(ncp, cp, maxx); /* Copy first line */ ncp += maxx; for (y=1; y<maxy; y++) { /* Interpolate other lines */ for(x=0; x<maxx; x++) { @@ -165,7 +165,7 @@ imageop_tovideo(self, args) } } } else { - bcopy(cp, ncp, maxx*4); /* Copy first line */ + memcpy(ncp, cp, maxx*4); /* Copy first line */ ncp += maxx*4; for (y=1; y<maxy; y++) { /* Interpolate other lines */ for(x=0; x<maxx; x++) { |