mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Minor fixes / changes for Mac compatibility.
This commit is contained in:
parent
a3309960a5
commit
1fc238a813
4 changed files with 7 additions and 7 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue