Chromium Code Reviews| Index: src/allocation.h |
| =================================================================== |
| --- src/allocation.h (revision 3338) |
| +++ src/allocation.h (working copy) |
| @@ -124,7 +124,7 @@ |
| // and StrNDup uses new and calls the FatalProcessOutOfMemory handler |
| // if allocation fails. |
| char* StrDup(const char* str); |
| -char* StrNDup(const char* str, size_t n); |
| +char* StrNDup(const char* str, int n); |
| // Allocation policy for allocating in the C free store using malloc |