wsman-client: fix action options accessors

flags variable is unsigned long, but all accessors are unsigned int.
Update accessors to unsigned long to eliminate type size
incompatibility problems.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
diff --git a/bindings/wsman-client_opt.i b/bindings/wsman-client_opt.i
index 6ba667c..e64520c 100644
--- a/bindings/wsman-client_opt.i
+++ b/bindings/wsman-client_opt.i
@@ -65,7 +65,7 @@
   }
 
 #if defined(SWIGRUBY)
-  %rename( "flags=" ) set_flags(int flags);
+  %rename( "flags=" ) set_flags(unsigned long flags);
 #endif
   /*
    * set option flag(s)
@@ -76,7 +76,7 @@
    *   options.flags = Openwsman::FLAG_ENUMERATION_OPTIMIZATION
    *
    */
-  void set_flags(int flags) {
+  void set_flags(unsigned long flags) {
     wsmc_set_action_option($self, flags);
   }
 
@@ -92,7 +92,7 @@
    *   optins.flags -> Integer
    *
    */
-  unsigned int get_flags() {
+  unsigned long get_flags() {
     return wsmc_get_action_option($self);
   }
 
@@ -105,7 +105,7 @@
    *   options.clear_flags Openwsman::FLAG_ENUMERATION_OPTIMIZATION
    *
    */
-  void clear_flags(int flags) {
+  void clear_flags(unsigned long flags) {
     wsmc_clear_action_option($self, flags);
   }
 
diff --git a/include/wsman-client-api.h b/include/wsman-client-api.h
index 9f967ef..e16bdd8 100644
--- a/include/wsman-client-api.h
+++ b/include/wsman-client-api.h
@@ -744,12 +744,12 @@
 					     client_opt_t * options);
 
 	void wsmc_set_action_option(client_opt_t * options,
-				     unsigned int);
+				     unsigned long);
 
-	unsigned int wsmc_get_action_option(client_opt_t * options);
+	unsigned long wsmc_get_action_option(client_opt_t * options);
 
 	void wsmc_clear_action_option(client_opt_t * options,
-				     unsigned int);
+				     unsigned long);
 
 	void wsmc_set_options_from_uri(const char *resource_uri,
 					client_opt_t * options);
diff --git a/src/lib/wsman-client.c b/src/lib/wsman-client.c
index 4fea28f..2b4cab6 100644
--- a/src/lib/wsman-client.c
+++ b/src/lib/wsman-client.c
@@ -374,14 +374,14 @@
 }
 
 void
-wsmc_set_action_option(client_opt_t * options, unsigned int flag)
+wsmc_set_action_option(client_opt_t * options, unsigned long flag)
 {
 	options->flags |= flag;
 	return;
 }
 
 
-unsigned int
+unsigned long
 wsmc_get_action_option(client_opt_t * options)
 {
 	return options->flags;
@@ -389,7 +389,7 @@
 
 
 void
-wsmc_clear_action_option(client_opt_t * options, unsigned int flag)
+wsmc_clear_action_option(client_opt_t * options, unsigned long flag)
 {
 	options->flags &= ~flag;
 	return;