title: Objective-C parameter of incompatible type 'double *'
body: <p>I have this method like so:</p>
  
  <pre><code>    -(void)insertTracking:(NSString *)tag deviceId:(NSString *)phone latitude:(double *)latitudeId longitude:(double *)longitudeId Completetion:(void (^) (NSArray * result,NSError * error))completion{
  
  }
  </code></pre>
  
  <p>which gives me this warning:</p>
  
  <pre><code>Format specifies type 'double' but the argument has type 'double *'
  </code></pre>
  
  <p>and this is how I am calling it:</p>
  
  <pre><code>[self insertTracking:barcodeHolder deviceId:[[UIDevice currentDevice] name] latitude:currentLocation.coordinate.latitude longitude:currentLocation.coordinate.longitude Completetion:^(NSArray *results, NSError *error){
  
  }];
  </code></pre>
  
  <p>and I get this error</p>
  
  <pre><code>Sending 'CLLocationDegrees' (aka 'double') to parameter of incompatible type 'double *'
  </code></pre>
  
  <p>the variable longitude and latitude are coming from CLLocation how do I pass them in a double? When I insert them as string they get inserted into my database as 0 PLEASE HELP, I dont understand what I am doing wrong.</p>