summaryrefslogtreecommitdiff
path: root/ext/filepro
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-08-28 21:00:24 +0000
committerAndrey Hristov <andrey@php.net>2003-08-28 21:00:24 +0000
commitb2eb454171b8d8050f7e68c6fb342ae29cf29819 (patch)
tree2305814179a570a884b504a04f09a9ba5d9e02af /ext/filepro
parentacb65b7c0a2a9c3c5e6ce60bd0e509a643180227 (diff)
downloadphp-git-b2eb454171b8d8050f7e68c6fb342ae29cf29819.tar.gz
format string fixes
Diffstat (limited to 'ext/filepro')
-rw-r--r--ext/filepro/filepro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index 4953447834..b5e9ec986c 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -375,7 +375,7 @@ PHP_FUNCTION(filepro_fieldname)
}
}
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate field number %d.", Z_LVAL_PP(fno));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate field number %ld.", Z_LVAL_PP(fno));
RETVAL_FALSE;
}
@@ -412,7 +412,7 @@ PHP_FUNCTION(filepro_fieldtype)
RETURN_STRING(lp->format, 1);
}
}
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate field number %d.", Z_LVAL_PP(fno));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate field number %ld.", Z_LVAL_PP(fno));
RETVAL_FALSE;
}
/* }}} */
@@ -448,7 +448,7 @@ PHP_FUNCTION(filepro_fieldwidth)
RETURN_LONG(lp->width);
}
}
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate field number %d.", Z_LVAL_PP(fno));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate field number %ld.", Z_LVAL_PP(fno));
RETVAL_FALSE;
}
/* }}} */