Skip to content

Commit

Permalink
Fixed wrong size on memcpy on 64 bit (when sizeof(int)!=sizeof(int*))
Browse files Browse the repository at this point in the history
  • Loading branch information
rolf committed May 17, 2012
1 parent 19be992 commit fa99be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/domxslt.c
Expand Up @@ -2679,7 +2679,7 @@ static int fastMergeSort (
}
}
memcpy(a, b, size*sizeof(domNode*));
memcpy(posa, posb, size*sizeof(int*));
memcpy(posa, posb, size*sizeof(int));
memcpy(vs, vstmp, size*sizeof(char*));
memcpy(vd, vdtmp, size*sizeof(double));
return 0;
Expand Down

0 comments on commit fa99be7

Please sign in to comment.