[gnome-flashback/gnome-3-34] clipboard: fix wrong casts
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/gnome-3-34] clipboard: fix wrong casts
- Date: Thu, 31 Oct 2019 14:43:12 +0000 (UTC)
commit 3f5e0187a0bc1b2cca4bd150ad42e2e82f86b7a4
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Oct 31 16:38:48 2019 +0200
clipboard: fix wrong casts
Introduced in d2ac5fc13ce71a083d7ea9a843442ba07e8a2e2e commit.
gnome-flashback/libclipboard/gsd-clipboard-manager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libclipboard/gsd-clipboard-manager.c
b/gnome-flashback/libclipboard/gsd-clipboard-manager.c
index 5f9aa27..52210a3 100644
--- a/gnome-flashback/libclipboard/gsd-clipboard-manager.c
+++ b/gnome-flashback/libclipboard/gsd-clipboard-manager.c
@@ -252,7 +252,7 @@ static int
find_content_target (TargetData *tdata,
void *user_data)
{
- Atom target = *(Atom *) user_data;
+ Atom target = (Atom) user_data;
return tdata->target == target;
}
@@ -261,7 +261,7 @@ static int
find_content_type (TargetData *tdata,
void *user_data)
{
- Atom type = *(Atom *) user_data;
+ Atom type = (Atom) user_data;
return tdata->type == type;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]