# \[PATCH\] Fix deprecated conversion warnings

**URL:** https://community.zeek.org/t/patch-fix-deprecated-conversion-warnings/1319
**Category:** Zeek
**Created:** [April 17, 2008, 4:55am UTC](https://community.zeek.org/t/patch-fix-deprecated-conversion-warnings/1319 "2008-04-17T04:55:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kevin\_Lo](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@Kevin\_Lo](https://community.zeek.org/u/Kevin_Lo)
#### Post date: [April 17, 2008, 4:55am UTC](https://community.zeek.org/t/patch-fix-deprecated-conversion-warnings/1319/1 "2008-04-17T04:55:23Z")

</div>

Hi,

This patch against development branch is to get rid of deprecated  
conversion warnings like the one below:

../src/builtin-func.y:545: warning: deprecated conversion  
from string constant to 'char\*'

I know it's just a warning and it should compile fine,  
but I'd like to get rid of all the warnings 🙂

&nbsp;&nbsp;Kevin

[patch-bro](https://community.zeek.org/uploads/short-url/av27SMh9mm1XE4eTkPCJ9BWqYwK) (2.46 KB)

---

<div class="post-metadata">

### Author: ![robin](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/robin/32/599_2.png) [@robin](https://community.zeek.org/u/robin)
#### Post date: [April 17, 2008, 5:09pm UTC](https://community.zeek.org/t/patch-fix-deprecated-conversion-warnings/1319/2 "2008-04-17T17:09:43Z")

</div>

> This patch against development branch is to get rid of deprecated  
> conversion warnings like the one below:

Thanks, I've applied it to my development branch.

> but I'd like to get rid of all the warnings 🙂

Me too!

Robin

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:38pm UTC](https://community.zeek.org/t/patch-fix-deprecated-conversion-warnings/1319/3 "2022-05-06T15:38:31Z")

</div>


