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++) {
}
}
} 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++) {
last_name_object = newstringobject(key);
if (last_name_object == NULL) {
last_name_char = NULL;
- return NULL;
+ return -1;
}
last_name_char = key;
}
last_name_object = newstringobject(key);
if (last_name_object == NULL) {
last_name_char = NULL;
- return NULL;
+ return -1;
}
last_name_char = key;
}
last_name_object = newstringobject(key);
if (last_name_object == NULL) {
last_name_char = NULL;
- return NULL;
+ return -1;
}
last_name_char = key;
}
last_name_object = newstringobject(key);
if (last_name_object == NULL) {
last_name_char = NULL;
- return NULL;
+ return -1;
}
last_name_char = key;
}