1From c673a76857cbe0ca82fa11aea9b70f94c3e5b041 Mon Sep 17 00:00:00 2001 2From: Peter Williams <peter@newton.cx> 3Date: Sat, 19 Dec 2015 21:08:46 -0500 4Subject: [PATCH] tools/generate_proxy.cpp: avoid possibly undefined 'uint' 5 type 6MIME-Version: 1.0 7Content-Type: text/plain; charset=UTF-8 8Content-Transfer-Encoding: 8bit 9 10--- 11Upstream-Status: Backport [https://github.com/andreas-volz/dbus-cplusplus/commit/43f119a2b3fe951c0f1d88cc61170d4c81a88880] 12Signed-off-by: André Draszik <adraszik@tycoint.com> 13 tools/generate_proxy.cpp | 8 ++++---- 14 1 file changed, 4 insertions(+), 4 deletions(-) 15 16diff --git a/tools/generate_proxy.cpp b/tools/generate_proxy.cpp 17index bf1094a..ebb75fa 100644 18--- a/tools/generate_proxy.cpp 19+++ b/tools/generate_proxy.cpp 20@@ -352,7 +352,7 @@ void generate_proxy(Xml::Document &doc, const char *filename) 21 if (!arg_name.length()) 22 { 23 arg_name = "argin"; 24- arg_name += toString <uint> (i); 25+ arg_name += toString <unsigned int> (i); 26 } 27 28 // generate extra code to wrap object 29@@ -445,7 +445,7 @@ void generate_proxy(Xml::Document &doc, const char *filename) 30 31 if (!arg_name.length()) 32 { 33- arg_name = "argout" + toString <uint> (i); 34+ arg_name = "argout" + toString <unsigned int> (i); 35 } 36 37 if (arg_object.length()) 38@@ -569,7 +569,7 @@ void generate_proxy(Xml::Document &doc, const char *filename) 39 // use a default if no arg name given 40 if (!arg_name.length()) 41 { 42- arg_name = "arg" + toString <uint> (i); 43+ arg_name = "arg" + toString <unsigned int> (i); 44 } 45 46 body << arg_name << ";" << endl; 47@@ -605,7 +605,7 @@ void generate_proxy(Xml::Document &doc, const char *filename) 48 49 if (!arg_name.length()) 50 { 51- arg_name = "arg" + toString <uint> (j); 52+ arg_name = "arg" + toString <unsigned int> (j); 53 } 54 55 if (arg_object.length()) 56-- 572.10.2 58 59