Mercurial > dwindows
changeset 2856:de1a0cd26691
Android: Forgot Android also used the same semaphore code.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 15 Nov 2022 04:24:25 +0000 |
parents | 86286f528adf |
children | 59106bf7f9f4 |
files | android/dw.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/android/dw.cpp Tue Nov 15 03:50:00 2022 +0000 +++ b/android/dw.cpp Tue Nov 15 04:24:25 2022 +0000 @@ -7291,7 +7291,7 @@ { memcpy(newarray, array, sizeof(struct _dw_seminfo)*z); if(z!=(connectcount-1)) - memcpy(&newarray[z], &array[z+1], sizeof(struct _dw_seminfo)*(z-connectcount-1)); + memcpy(&newarray[z], &array[z+1], sizeof(struct _dw_seminfo)*(connectcount-(z+1))); } connectcount--;