diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2024-08-02 08:32:14 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2024-08-02 08:32:14 +0200 |
commit | 9627fd587c9aa066d4ce6e852b26950030f9c3cd (patch) | |
tree | 50375cab018b3b62076bf4a6a674fca7613db68b /src/lx_output.c | |
parent | 8b6ec6bb08fa9c3b19753acb436bbb8ecfae9233 (diff) | |
parent | 7047b6da264e946e77eeee4080d194c807562d68 (diff) |
Merge remote-tracking branch 'origin/master' into obsdobsd
Diffstat (limited to 'src/lx_output.c')
-rw-r--r-- | src/lx_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lx_output.c b/src/lx_output.c index 40455ce..fbe21ab 100644 --- a/src/lx_output.c +++ b/src/lx_output.c @@ -47,7 +47,7 @@ static void lx_create_resources(xf86OutputPtr output) { int ret; - char *s; + const char *s; ScrnInfoPtr pScrni = output->scrn; GeodeRec *pGeode = GEODEPTR(pScrni); @@ -285,7 +285,7 @@ LXSetupOutput(ScrnInfoPtr pScrni) output = xf86OutputCreate(pScrni, &lx_output_funcs, "default"); - lxpriv = xnfcalloc(1, sizeof(LXOutputPrivateRec)); + lxpriv = XNFcallocarray(1, sizeof(LXOutputPrivateRec)); if (!lxpriv) { xf86OutputDestroy(output); |