Skip to content

Commit 44dc8f4

Browse files
author
luke
committed
Use STDVEC_DATAPTR instead of DATAPTR.
git-svn-id: https://svn.r-project.org/R/trunk@89009 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent a5fd524 commit 44dc8f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ char *R_alloc(size_t nelem, int eltsize)
23382338
#endif
23392339
ATTRIB(s) = R_VStack;
23402340
R_VStack = s;
2341-
return (char *) DATAPTR(s);
2341+
return (char *) STDVEC_DATAPTR(s);
23422342
}
23432343
/* One programmer has relied on this, but it is undocumented! */
23442344
else return NULL;

0 commit comments

Comments
 (0)