X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffld_pad.c;h=b6d59e2c1cdc76e9a971f8f7a363709e938dba40;hp=63d8ad1cdbfa4646ab174cac2375a03b7d9f1216;hb=460005b642d978c6d4b48810803514bd36a6245b;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/form/fld_pad.c b/form/fld_pad.c index 63d8ad1c..b6d59e2c 100644 --- a/form/fld_pad.c +++ b/form/fld_pad.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 1998-2004,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,7 +33,7 @@ #include "form.priv.h" -MODULE_ID("$Id: fld_pad.c,v 1.9 2004/12/11 21:56:49 tom Exp $") +MODULE_ID("$Id: fld_pad.c,v 1.11 2020/02/02 23:34:34 tom Exp $") /*--------------------------------------------------------------------------- | Facility : libnform @@ -50,7 +51,7 @@ set_field_pad(FIELD *field, int ch) { int res = E_BAD_ARGUMENT; - T((T_CALLED("set_field_pad(%p,%d)"), field, ch)); + T((T_CALLED("set_field_pad(%p,%d)"), (void *)field, ch)); Normalize_Field(field); if (isprint(UChar(ch))) @@ -77,7 +78,7 @@ set_field_pad(FIELD *field, int ch) NCURSES_EXPORT(int) field_pad(const FIELD *field) { - T((T_CALLED("field_pad(%p)"), field)); + T((T_CALLED("field_pad(%p)"), (const void *)field)); returnCode(Normalize_Field(field)->pad); }