=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/indent/indent_globs.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/indent/indent_globs.h 2015/01/19 15:30:52 1.12 +++ src/usr.bin/indent/indent_globs.h 2015/08/20 22:32:41 1.13 @@ -1,4 +1,4 @@ -/* $OpenBSD: indent_globs.h,v 1.12 2015/01/19 15:30:52 krw Exp $ */ +/* $OpenBSD: indent_globs.h,v 1.13 2015/08/20 22:32:41 deraadt Exp $ */ /* * Copyright (c) 1985 Sun Microsystems, Inc. * Copyright (c) 1980, 1993 @@ -55,7 +55,7 @@ if (e_code >= l_code) { \ int nsize = l_code-s_code+400; \ \ - codebuf = (char *) realloc(codebuf, nsize); \ + codebuf = realloc(codebuf, nsize); \ if (codebuf == NULL) \ err(1, NULL); \ e_code = codebuf + (e_code-s_code) + 1; \ @@ -66,7 +66,7 @@ if (e_com >= l_com) { \ int nsize = l_com-s_com+400; \ \ - combuf = (char *) realloc(combuf, nsize); \ + combuf = realloc(combuf, nsize); \ if (combuf == NULL) \ err(1, NULL); \ e_com = combuf + (e_com-s_com) + 1; \ @@ -77,7 +77,7 @@ if (e_lab >= l_lab) { \ int nsize = l_lab-s_lab+400; \ \ - labbuf = (char *) realloc(labbuf, nsize); \ + labbuf = realloc(labbuf, nsize); \ if (labbuf == NULL) \ err(1, NULL); \ e_lab = labbuf + (e_lab-s_lab) + 1; \ @@ -88,7 +88,7 @@ if (e_token >= l_token) { \ int nsize = l_token-s_token+400; \ \ - tokenbuf = (char *) realloc(tokenbuf, nsize); \ + tokenbuf = realloc(tokenbuf, nsize); \ if (tokenbuf == NULL) \ err(1, NULL); \ e_token = tokenbuf + (e_token-s_token) + 1; \