mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Remove lint.
This commit is contained in:
parent
53100db1a5
commit
dbb981f96e
1 changed files with 3 additions and 3 deletions
|
|
@ -281,7 +281,7 @@ format( char *str, int width, int lead )
|
||||||
*/
|
*/
|
||||||
s = original = strdup(str);
|
s = original = strdup(str);
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if ((strlen(s) + lead) < width) {
|
if (((int) strlen(s) + lead) < width) {
|
||||||
printf("%s%s\n", leader, s);
|
printf("%s%s\n", leader, s);
|
||||||
Free(leader);
|
Free(leader);
|
||||||
Free(original);
|
Free(original);
|
||||||
|
|
@ -352,7 +352,7 @@ format2(
|
||||||
i = "";
|
i = "";
|
||||||
|
|
||||||
/* now do the first line */
|
/* now do the first line */
|
||||||
if ((strlen(s) + strlen(first_tag) + first_indent) < width) {
|
if (((int) strlen(s) + (int) strlen(first_tag) + first_indent) < width) {
|
||||||
printf("%s%s%s\n", fi, first_tag, s);
|
printf("%s%s%s\n", fi, first_tag, s);
|
||||||
Free(fi);
|
Free(fi);
|
||||||
Free(i);
|
Free(i);
|
||||||
|
|
@ -391,7 +391,7 @@ format2(
|
||||||
|
|
||||||
/* now do all of the other lines */
|
/* now do all of the other lines */
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if ((strlen(s) + strlen(tag) + indent) < width) {
|
if (((int) strlen(s) + (int) strlen(tag) + indent) < width) {
|
||||||
printf("%s%s%s\n", i, tag, s);
|
printf("%s%s%s\n", i, tag, s);
|
||||||
Free(fi);
|
Free(fi);
|
||||||
Free(i);
|
Free(i);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue