Changeset 87201 in vbox
- Timestamp:
- Jan 8, 2021 3:06:12 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142154
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r87194 r87201 1289 1289 RuntimeR3_SOURCES.darwin.x86 += common/string/memrchr.asm 1290 1290 RuntimeR3_SOURCES.darwin.amd64 += common/string/memrchr.asm 1291 RuntimeR3_SOURCES.darwin.arm32 += common/string/memrchr.cpp 1292 RuntimeR3_SOURCES.darwin.arm64 += common/string/memrchr.cpp 1291 1293 1292 1294 ## @todo Make BSD sched, implement RTMP*. -
trunk/src/VBox/Runtime/common/string/memrchr.cpp
r82968 r87201 36 36 * 37 37 * @returns Pointer on a match or NULL otherwise. 38 * @param p bPointer to the block.38 * @param pv Pointer to the block. 39 39 * @param ch The char to search for. 40 40 * @param cb The size of the block. 41 41 */ 42 void *memrchr(const char *pb, int ch, size_t cb)42 void *memrchr(const void *pv, int ch, size_t cb) 43 43 { 44 44 if (cb) 45 45 { 46 const char *pbCur = pb+ cb - 1;46 const char *pbCur = (const char *)pv + cb - 1; 47 47 48 48 while (cb)
Note:
See TracChangeset
for help on using the changeset viewer.