get_param_types() no longer balks at AOP_STR_CST() params.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 3 Sep 2010 00:13:48 +0000 (20:13 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 3 Sep 2010 00:13:48 +0000 (20:13 -0400)
src/aop-header.c

index 3e721a64053296041d441c299389ea489b1a7431..f582daf9b1aa9a8f23d47ea66c3a6351a0af9b4d 100644 (file)
@@ -156,7 +156,8 @@ get_param_types (va_list argp, int num_params,
       switch (kind)
        {
        case ATA_STR_CST:
-         aop_assert (0);
+         va_arg (argp, const char *);
+         param_types[i] = aop_t_pointer_to (aop_t_signed8 ());
          break;
        case ATA_INT_CST:
          va_arg (argp, int);