Skip to content

Commit

Permalink
Accept unsigned integer and return such
Browse files Browse the repository at this point in the history
  • Loading branch information
piotras committed Oct 26, 2011
1 parent 1059dd0 commit bac74be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PropertyType.vala
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ namespace GICR {
*
* @throws InvalidArgumentException if the given type is unknown.
*/
public static string? name_from_value (int type)
public static string? name_from_value (uint type)
{
return null;
}
Expand All @@ -214,7 +214,7 @@ namespace GICR {
*
* @throws InvalidArgumentException if the given name is unknown.
*/
public static int value_from_name (string name)
public static uint value_from_name (string name)
{
return 0;
}
Expand Down

0 comments on commit bac74be

Please sign in to comment.