]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - pstoraster/iparam.c
Merge changes from 1.1 tree.
[thirdparty/cups.git] / pstoraster / iparam.c
index 407313f8266c05df0dec7b8b1510a17b5ca7fd76..69b9cb5f298787f1575ef98ef408dba1df8634cc 100644 (file)
@@ -22,7 +22,7 @@
   GNU software to build or run it.
 */
 
-/*$Id: iparam.c,v 1.2 2000/03/08 23:15:14 mike Exp $ */
+/*$Id: iparam.c,v 1.2.2.1 2001/05/13 18:38:32 mike Exp $ */
 /* Interpreter implementations of parameter dictionaries */
 #include "memory_.h"
 #include "string_.h"
@@ -251,7 +251,7 @@ ref_param_write_typed(gs_param_list * plist, gs_param_name pkey,
        case gs_param_type_array:
            return ref_param_begin_write_collection(plist, pkey,
                                                    &pvalue->value.d,
-                                        pvalue->type - gs_param_type_dict);
+                                        (gs_param_collection_type_t)(pvalue->type - gs_param_type_dict));
        default:
            return_error(e_typecheck);
     }