]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - form/fty_enum.c
ncurses 5.7 - patch 20100123
[ncurses.git] / form / fty_enum.c
index c249b5b039632a203c42dad423e9b0622cb301c3..41ff585cdde5a92b944fdb7f0501aa964e624327 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 1998-2007,2009 Free Software Foundation, Inc.              *
+ * Copyright (c) 1998-2009,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            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -34,7 +34,7 @@
 
 #include "form.priv.h"
 
 
 #include "form.priv.h"
 
-MODULE_ID("$Id: fty_enum.c,v 1.24 2009/11/07 20:17:58 tom Exp $")
+MODULE_ID("$Id: fty_enum.c,v 1.25 2010/01/23 21:14:36 tom Exp $")
 
 typedef struct
   {
 
 typedef struct
   {
@@ -79,7 +79,7 @@ Generic_Enum_Type(void *arg)
          char **kptarget;
          int ccase, cunique;
 
          char **kptarget;
          int ccase, cunique;
 
-         T((T_CREATE("enumARG %p"), argp));
+         T((T_CREATE("enumARG %p"), (void *)argp));
          kwds = params->kwds;
          ccase = params->ccase;
          cunique = params->cunique;
          kwds = params->kwds;
          ccase = params->ccase;
          cunique = params->cunique;
@@ -155,7 +155,7 @@ Copy_Enum_Type(const void *argp)
 
       if (result)
        {
 
       if (result)
        {
-         T((T_CREATE("enumARG %p"), result));
+         T((T_CREATE("enumARG %p"), (void *)result));
          *result = *ap;
 
          if (ap->count > 0)
          *result = *ap;
 
          if (ap->count > 0)