[hipl-commit] [trunk] Rev 3681: Compilation problem on 32-bit ubuntu (bug id 1246).

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 18 Feb 2010 15:18:52 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: Thu Feb 18 15:18:51 2010 +0200
Revision: 3681
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Compilation problem on 32-bit ubuntu (bug id 1246).

Modified:
  M  firewall/esp_prot_api.c

=== modified file 'firewall/esp_prot_api.c'
--- firewall/esp_prot_api.c     2010-02-17 13:55:23 +0000
+++ firewall/esp_prot_api.c     2010-02-18 13:18:51 +0000
@@ -75,7 +75,7 @@
 int hash_lengths[NUM_HASH_FUNCTIONS][NUM_HASH_LENGTHS];
 /* is used for hash chains and trees simultaneously used hash functions */
 hash_function_t hash_functions[NUM_HASH_FUNCTIONS]
-    = {SHA1};
+    = {(hash_function_t) SHA1};
 
 /********* internal settings (derived from config-file) *********/
 // lengths of the hash structures in the stores

Other related posts:

  • » [hipl-commit] [trunk] Rev 3681: Compilation problem on 32-bit ubuntu (bug id 1246). - Miika Komu