--- role_discount.module	2007-02-20 12:42:17.000000000 +0000
+++ new.module	2007-05-03 22:34:36.000000000 +0100
@@ -154,7 +154,7 @@ function role_discount_form_submit($form
  * Implementation of hook_product_specials().
  * Calculate discount amount if necessary.
  */
-function role_discount_product_specials($node, $specials, $txn = NULL) {
+function role_discount_product_specials($node, $specials, $type, $txn = NULL) {
   global $user;
   static $adjust;
 
