History

Fix default_reallocator declaration

herman ten brugge committed 2 years ago

Commit cd6ad851 parent be6584e1 file · +1 −1Browse files

Unified · Split

libtcc.c+1−1
@@ -249,7 +249,7 @@ ST_FUNC char *tcc_load_text(int fd) · 248 unmodified lines
249249 #undef free
250250 #undef realloc
251251
252−static void *default_reallocator(void *ptr, unsigned long size)
252+static void *default_reallocator(void *ptr, size_t size)
253253 {
254254 void *ptr1;
255255 if (size == 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t