commit | bf29173d6d63536ae9f8cfd1d02153237ee23612 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 17 15:16:07 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 17 15:16:07 2016 -0700 |
tree | 3f6fe33288711b73e8683d671a57860d6f14219d | |
parent | 0603c5dfc34923095218307674a60429bfa5873a [diff] |
Fix misc-macro-parentheses warnings. Bug: 28705665 Change-Id: I97d1dec9a4397fd7a3cab5180a833066b8abe0ab
diff --git a/services/camera/libcameraservice/device1/CameraHardwareInterface.h b/services/camera/libcameraservice/device1/CameraHardwareInterface.h index 7f14cd4..454d60f 100644 --- a/services/camera/libcameraservice/device1/CameraHardwareInterface.h +++ b/services/camera/libcameraservice/device1/CameraHardwareInterface.h
@@ -568,7 +568,7 @@ reinterpret_cast<CameraHardwareInterface *>(user); return __this->mPreviewWindow.get(); } -#define anw(n) __to_anw(((struct camera_preview_window *)n)->user) +#define anw(n) __to_anw(((struct camera_preview_window *)(n))->user) static int __dequeue_buffer(struct preview_stream_ops* w, buffer_handle_t** buffer, int *stride)