egl-static: fix printf warning
authorDylan Noblesmith <nobled@dreamwidth.org>
Sun, 1 Apr 2012 19:57:57 +0000 (19:57 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Fri, 13 Apr 2012 14:25:08 +0000 (14:25 +0000)
commit2bb91274e2cc2290ce8e790335f1e57b81d9d783
treec7adb7fddbc162e385b60eb4a7820d2861d66286
parent6a491b5728fcfb928612182fa87212eeb2253917
egl-static: fix printf warning

Noticed by clang:

egl_st.c:57:50: warning: field precision should have type 'int',
but argument has type 'size_t' (aka 'unsigned long') [-Wformat]
      ret = util_snprintf(path, sizeof(path), "%.*s/%s" UTIL_DL_EXT,
                                               ~~^~

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/targets/egl-static/egl_st.c