]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-ssdiff.c
use correct type for sizeof
[ps-cgit] / ui-ssdiff.c
index 45770b1a547fe773dc959a2acc49eebcef74a7f1..0cff4b82ed46c8bc41e07c1392dd9c8e9e3ff75a 100644 (file)
@@ -23,7 +23,7 @@ static void create_or_reset_lcs_table()
        int i;
 
        if (L != NULL) {
-               memset(*L, 0, sizeof(*L) * MAX_SSDIFF_SIZE);
+               memset(*L, 0, sizeof(int) * MAX_SSDIFF_SIZE);
                return;
        }