* [PATCH] Fix parameter type in att_put_u32
@ 2011-02-03 13:37 Elvis Pfützenreuter
2011-02-04 4:54 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Elvis Pfützenreuter @ 2011-02-03 13:37 UTC (permalink / raw)
To: linux-bluetooth; +Cc: epx
---
attrib/att.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/attrib/att.h b/attrib/att.h
index 1caa62a..7e81dc4 100644
--- a/attrib/att.h
+++ b/attrib/att.h
@@ -180,7 +180,7 @@ static inline void att_put_u16(uint16_t src, void *dst)
bt_put_unaligned(htobs(src), (uint16_t *) dst);
}
-static inline void att_put_u32(uint16_t src, void *dst)
+static inline void att_put_u32(uint32_t src, void *dst)
{
bt_put_unaligned(htobl(src), (uint32_t *) dst);
}
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix parameter type in att_put_u32
2011-02-03 13:37 [PATCH] Fix parameter type in att_put_u32 Elvis Pfützenreuter
@ 2011-02-04 4:54 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-02-04 4:54 UTC (permalink / raw)
To: Elvis Pfützenreuter; +Cc: linux-bluetooth
Hi Elvis,
On Thu, Feb 03, 2011, Elvis Pfützenreuter wrote:
> ---
> attrib/att.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/attrib/att.h b/attrib/att.h
> index 1caa62a..7e81dc4 100644
> --- a/attrib/att.h
> +++ b/attrib/att.h
> @@ -180,7 +180,7 @@ static inline void att_put_u16(uint16_t src, void *dst)
> bt_put_unaligned(htobs(src), (uint16_t *) dst);
> }
>
> -static inline void att_put_u32(uint16_t src, void *dst)
> +static inline void att_put_u32(uint32_t src, void *dst)
> {
> bt_put_unaligned(htobl(src), (uint32_t *) dst);
> }
Pushed upstream. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-04 4:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 13:37 [PATCH] Fix parameter type in att_put_u32 Elvis Pfützenreuter
2011-02-04 4:54 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox