Mercurial > cpython-lru_cache-weakref
diff Modules/imageop.c @ 1330:409ea74feb21 legacy-trunk
Minor fixes / changes for Mac compatibility.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 29 Jul 1993 08:25:09 +0000 |
| parents | b3e6a435c48f |
| children | a22a350d3a5d |
line wrap: on
line diff
--- a/Modules/imageop.c Wed Jul 28 09:05:47 1993 +0000 +++ b/Modules/imageop.c Thu Jul 29 08:25:09 1993 +0000 @@ -156,7 +156,7 @@ 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 @@ } } } 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++) {
