diff src/tooltalk.c @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children bcdc7deadc19
line wrap: on
line diff
--- a/src/tooltalk.c	Mon Aug 13 08:45:53 2007 +0200
+++ b/src/tooltalk.c	Mon Aug 13 08:46:35 2007 +0200
@@ -979,7 +979,7 @@
   CHECK_STRING (vtype);
   CHECK_TOOLTALK_CONSTANT (mode);
 
-  n = tooltalk_constant_value (mode);
+  n = (Tt_mode) tooltalk_constant_value (mode);
 
   if (!VALID_TOOLTALK_MESSAGEP (m))
     return Qnil;
@@ -1195,10 +1195,11 @@
   CHECK_STRING (vtype);
   CHECK_TOOLTALK_CONSTANT (mode);
 
-  n = tooltalk_constant_value (mode);
+  n = (Tt_mode) tooltalk_constant_value (mode);
 
   if (!VALID_TOOLTALK_PATTERNP (p))
     return Qnil;
+  
   {
     CONST char *vtype_ext;