diff src/device-msw.c @ 5192:635f4b506855

Call internal_hash() with its new arg, Win32-specific code, fixing build src/ChangeLog addition: 2010-04-06 Aidan Kehoe <kehoea@parhasard.net> * toolbar-msw.c (allocate_toolbar_item_id) (mswindows_output_toolbar): * menubar-msw.c (allocate_menu_item_id, checksum_menu_item): * glyphs-msw.c (mswindows_image_instance_hash): * fontcolor-msw.c (mswindows_color_instance_equal): * device-msw.c (hash_devmode): Call internal_hash() with the correct number of arguments, declare various hash methods with the correct number of arguments, fixing the Win32 build. Thank you Vin.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 06 Apr 2010 15:08:22 +0100
parents 97eb4942aec8
children 8608eadee6ba 308d34e9f07d
line wrap: on
line diff
--- a/src/device-msw.c	Mon Apr 05 13:03:35 2010 +0100
+++ b/src/device-msw.c	Tue Apr 06 15:08:22 2010 +0100
@@ -1185,14 +1185,14 @@
 }
 
 static Hashcode
-hash_devmode (Lisp_Object obj, int depth)
+hash_devmode (Lisp_Object obj, int depth, Boolint UNUSED (equalp))
 {
   Lisp_Devmode *dm = XDEVMODE (obj);
 
   return HASH3 (XDEVMODE_SIZE (dm),
 		dm->devmode ? memory_hash (dm->devmode, XDEVMODE_SIZE (dm))
 		: 0,
-		internal_hash (dm->printer_name, depth + 1));
+		internal_hash (dm->printer_name, depth + 1, 0));
 }
 
 DEFINE_NODUMP_LISP_OBJECT ("msprinter-settings", devmode,