Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed string formatting of unsigned integer

  • Loading branch information...
commit 96b5bf0b5a1170d5507c45bd138b725cd26cabc9 1 parent 05da92b
Sebastian Rehnby authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  PodioKit/API/PKPromotionAPI.m
4  PodioKit/API/PKPromotionAPI.m
@@ -15,11 +15,11 @@ + (PKRequest *)requestForPromotionInContext:(PKPromotionContext)context {
15 15
 }
16 16
 
17 17
 + (PKRequest *)requestToClickPromotionWithId:(NSUInteger)promotionId {
18  
-  return [PKRequest postRequestWithURI:[NSString stringWithFormat:@"/promotion/%d/click", promotionId]];
  18
+  return [PKRequest postRequestWithURI:[NSString stringWithFormat:@"/promotion/%lu/click", (unsigned long)promotionId]];
19 19
 }
20 20
 
21 21
 + (PKRequest *)requestToEndPromotionWithId:(NSUInteger)promotionId {
22  
-  return [PKRequest postRequestWithURI:[NSString stringWithFormat:@"/promotion/%d/end", promotionId]];
  22
+  return [PKRequest postRequestWithURI:[NSString stringWithFormat:@"/promotion/%lu/end", (unsigned long)promotionId]];
23 23
 }
24 24
 
25 25
 @end

0 notes on commit 96b5bf0

Please sign in to comment.
Something went wrong with that request. Please try again.